mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-23 23:11:10 -04:00
use incrementing auto-restart delay
This commit is contained in:
parent
76c1ae3aaf
commit
ea3d577ac6
2 changed files with 6 additions and 0 deletions
|
@ -1,2 +1,5 @@
|
|||
[Service]
|
||||
Restart=always
|
||||
RestartMaxDelaySec=10s
|
||||
RestartSec=100ms
|
||||
RestartSteps=5
|
||||
|
|
|
@ -16,6 +16,9 @@ ProtectProc=invisible
|
|||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/nginx /var/log/nginx -/var/cache/nginx
|
||||
Restart=always
|
||||
RestartMaxDelaySec=10s
|
||||
RestartSec=100ms
|
||||
RestartSteps=5
|
||||
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
||||
RestrictNamespaces=true
|
||||
RestrictRealtime=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue