chiark / gitweb /
Revert "systemd-logind.service: set Type=notify"
authorLennart Poettering <lennart@poettering.net>
Fri, 21 Nov 2014 00:17:52 +0000 (01:17 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Nov 2014 00:17:52 +0000 (01:17 +0100)
This reverts commit a4962513c555fe3ac4b5bebf97a71701361a45b0.

logind.service is a D-Bus service, hence we should use the dbus name as
indication that we are up. Type=dbus is implied if BusName= is
specified, as it is in this case.

This removes a warning that is printed because a BusName= is specified
for a Type=notify unit.

units/systemd-logind.service.in

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