From: Dave Reisner Date: Wed, 19 Nov 2014 13:13:34 +0000 (-0500) Subject: systemd-logind.service: set Type=notify X-Git-Tag: v218~420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4962513c555fe3ac4b5bebf97a71701361a45b0;p=thirdparty%2Fsystemd.git 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 f087e99ce2e..b9fbc2c74f4 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