chiark
/
gitweb
/
~ianmdlvl
/
elogind.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 f087e99ce2e75f7470199c676af72ef1570243f8..b9fbc2c74f4460a2f05692fd8010795a4b2cf82d 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]
After=dbus.socket
[Service]
+Type=notify
ExecStart=@rootlibexecdir@/systemd-logind
Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-logind
Restart=always
RestartSec=0