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: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a4962513c555fe3ac4b5bebf97a71701361a45b0;hp=e37f74a6d5cc3c0a3d214c3a7f5de234b0696b4c 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 f087e99ce..b9fbc2c74 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