From: Lennart Poettering Date: Fri, 21 Nov 2014 00:17:52 +0000 (+0100) Subject: Revert "systemd-logind.service: set Type=notify" X-Git-Tag: v218~403 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=eab459bc0639b81b32735f36d3e929e4bfa2cb4b Revert "systemd-logind.service: set Type=notify" 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. --- diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index b9fbc2c74..f087e99ce 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -19,7 +19,6 @@ Wants=dbus.socket After=dbus.socket [Service] -Type=notify ExecStart=@rootlibexecdir@/systemd-logind Restart=always RestartSec=0