summaryrefslogtreecommitdiff
path: root/units/systemd-logind.service.in
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 /units/systemd-logind.service.in
parente37f74a6d5cc3c0a3d214c3a7f5de234b0696b4c (diff)
downloadsystemd-a4962513c555fe3ac4b5bebf97a71701361a45b0.tar.gz
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.
Diffstat (limited to 'units/systemd-logind.service.in')
-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