mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
units: don't enforce a holdoff time for journald, logind, udevd
These services should be restarted as quickly as possible if they fail, and the extra safety net of the holdoff time is not necessary.
This commit is contained in:
parent
a8bb2e6503
commit
47ec118473
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user