projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37f74a
)
systemd-logind.service: set Type=notify
author
Dave Reisner
<dreisner@archlinux.org>
Wed, 19 Nov 2014 13:13:34 +0000
(08:13 -0500)
committer
Dave Reisner
<dreisner@archlinux.org>
Wed, 19 Nov 2014 13:13:34 +0000
(08:13 -0500)
The code already calls sd_notify("READY=1"), so we may as well take
advantage of the startup behavior in the unit. The same was done for
the journal in
a87a38c20
.
units/systemd-logind.service.in
patch
|
blob
|
history
diff --git
a/units/systemd-logind.service.in
b/units/systemd-logind.service.in
index
f087e99
..
b9fbc2c
100644
(file)
--- a/
units/systemd-logind.service.in
+++ b/
units/systemd-logind.service.in
@@
-19,6
+19,7
@@
Wants=dbus.socket
After=dbus.socket
[Service]
+Type=notify
ExecStart=@rootlibexecdir@/systemd-logind
Restart=always
RestartSec=0