diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-11-19 08:13:34 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-11-19 08:13:34 -0500 |
commit | a4962513c555fe3ac4b5bebf97a71701361a45b0 (patch) | |
tree | efbc68e90657e166a917860b7848b73cd5f9dbfd | |
parent | e37f74a6d5cc3c0a3d214c3a7f5de234b0696b4c (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.in | 1 |
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 |