chiark / gitweb /
systemd-logind.service: set Type=notify
authorDave Reisner <dreisner@archlinux.org>
Wed, 19 Nov 2014 13:13:34 +0000 (08:13 -0500)
committerDave Reisner <dreisner@archlinux.org>
Wed, 19 Nov 2014 13:13:34 +0000 (08:13 -0500)
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.

units/systemd-logind.service.in

index f087e99ce2e75f7470199c676af72ef1570243f8..b9fbc2c74f4460a2f05692fd8010795a4b2cf82d 100644 (file)
@@ -19,6 +19,7 @@ Wants=dbus.socket
 After=dbus.socket
 
 [Service]
+Type=notify
 ExecStart=@rootlibexecdir@/systemd-logind
 Restart=always
 RestartSec=0