mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-26 00:05:17 -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]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartMaxDelaySec=10s
|
||||||
|
RestartSec=100ms
|
||||||
|
RestartSteps=5
|
||||||
|
|
|
@ -16,6 +16,9 @@ ProtectProc=invisible
|
||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
ReadWritePaths=/var/lib/nginx /var/log/nginx -/var/cache/nginx
|
ReadWritePaths=/var/lib/nginx /var/log/nginx -/var/cache/nginx
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartMaxDelaySec=10s
|
||||||
|
RestartSec=100ms
|
||||||
|
RestartSteps=5
|
||||||
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
||||||
RestrictNamespaces=true
|
RestrictNamespaces=true
|
||||||
RestrictRealtime=true
|
RestrictRealtime=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue