summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-11-19 08:13:34 -0500
committerDave Reisner <dreisner@archlinux.org>2014-11-19 08:13:34 -0500
commita4962513c555fe3ac4b5bebf97a71701361a45b0 (patch)
treeefbc68e90657e166a917860b7848b73cd5f9dbfd
parente37f74a6d5cc3c0a3d214c3a7f5de234b0696b4c (diff)
systemd-logind.service: set Type=notify
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.
-rw-r--r--units/systemd-logind.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in
index f087e99ce2..b9fbc2c74f 100644
--- 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