mirror of
https://github.com/systemd/systemd
synced 2024-07-01 07:34:28 +00:00
As systemd-journal-upload deals mostly with remote servers, add some failsafes to its unit to restart on failures. ``` [Service] Restart=on-failure RestartSteps=10 RestartMaxDelaySec=60 ```
This commit is contained in:
parent
f8be60c6d9
commit
c08bec1587
|
@ -26,6 +26,9 @@ ProtectHostname=yes
|
|||
ProtectKernelLogs=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
Restart=on-failure
|
||||
RestartSteps=10
|
||||
RestartMaxDelaySec=60
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
RestrictNamespaces=yes
|
||||
RestrictRealtime=yes
|
||||
|
|
Loading…
Reference in New Issue
Block a user