[systemd-commits] units/systemd-logind.service.in
Dave Reisner
dreisner at kemper.freedesktop.org
Wed Nov 19 05:23:57 PST 2014
units/systemd-logind.service.in | 1 +
1 file changed, 1 insertion(+)
New commits:
commit a4962513c555fe3ac4b5bebf97a71701361a45b0
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Nov 19 08:13:34 2014 -0500
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.
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in
index f087e99..b9fbc2c 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
More information about the systemd-commits
mailing list