mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02: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:
committed by
Luca Boccassi
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
|
||||
|
Reference in New Issue
Block a user