1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

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.
This commit is contained in:
Dave Reisner 2014-11-19 08:13:34 -05:00
parent e37f74a6d5
commit a4962513c5

View File

@ -19,6 +19,7 @@ Wants=dbus.socket
After=dbus.socket
[Service]
Type=notify
ExecStart=@rootlibexecdir@/systemd-logind
Restart=always
RestartSec=0