mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-07-05 00:59:07 +00:00
shell: Don't reference systemd service
It doesn't get exported outside the sandbox, so the session systemd doesn't know how to start it. The information in the systemd .service file should be enough for systemd to correlate the two when running outside the sandbox.
This commit is contained in:
parent
4998e65a05
commit
dfc7207b94
|
@ -48,20 +48,12 @@ systemd_user_DATA = $(systemd_user_in_files:.service.in=.service)
|
|||
|
||||
$(systemd_user_DATA): $(systemd_user_in_files) Makefile
|
||||
$(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
|
||||
|
||||
$(service_DATA): $(service_in_files) Makefile
|
||||
$(AM_V_GEN) $(SED) \
|
||||
-e "s|\@libexecdir\@|$(libexecdir)|" \
|
||||
-e "s|@if_systemd_service@||" \
|
||||
$< > $@
|
||||
else
|
||||
$(service_DATA): $(service_in_files) Makefile
|
||||
$(AM_V_GEN) $(SED) \
|
||||
-e "s|\@libexecdir\@|$(libexecdir)|" \
|
||||
-e "s|@if_systemd_service@|#|" \
|
||||
$< > $@
|
||||
endif
|
||||
|
||||
$(service_DATA): $(service_in_files) Makefile
|
||||
$(AM_V_GEN) $(SED) \
|
||||
-e "s|\@libexecdir\@|$(libexecdir)|" \
|
||||
$< > $@
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=org.gnome.Evince.Daemon
|
||||
Exec=@libexecdir@/evinced
|
||||
@if_systemd_service@SystemdService=org.gnome.Evince.service
|
||||
|
|
Loading…
Reference in New Issue
Block a user