chiark / gitweb /
service: don't print a warning if we are in autorestart state, and can't start a...
[elogind.git] / units / systemd-logind.service.in
index 0dd6e14e168437ac1a1e22a96c5abfdeec56c694..b59809d49b5676ae3e0601b22b6f4d0514e7fab9 100644 (file)
@@ -13,6 +13,8 @@ After=nss-user-lookup.target
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-logind
+Restart=always
+RestartSec=0
 BusName=org.freedesktop.login1
 CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG