chiark / gitweb /
units: don't enforce a holdoff time for journald, logind, udevd
authorLennart Poettering <lennart@poettering.net>
Wed, 18 Jul 2012 00:31:52 +0000 (02:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Jul 2012 00:31:52 +0000 (02:31 +0200)
These services should be restarted as quickly as possible if they fail,
and the extra safety net of the holdoff time is not necessary.

units/systemd-journald.service.in
units/systemd-logind.service.in
units/systemd-udevd.service.in

index 3899745306c44de278f523ba29f141a161f8a118..366655bfc536a651feac8b7ac78b4ea0e7b6bb84 100644 (file)
@@ -16,6 +16,7 @@ After=systemd-journald.socket syslog.socket
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journald
 Restart=always
+RestartSec=0
 NotifyAccess=all
 StandardOutput=null
 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID
index 4acca63a96eab5177b8df426033ecd1dae79d69e..b59809d49b5676ae3e0601b22b6f4d0514e7fab9 100644 (file)
@@ -14,6 +14,7 @@ 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
 
index 3bf33e5266438ed5b204692f3729f561e085a375..2fe7822fe9e4ca77172f1d46402da0afd4c0501c 100644 (file)
@@ -19,4 +19,5 @@ Type=notify
 OOMScoreAdjust=-1000
 Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
 Restart=always
+RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-udevd