mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 13:45:02 -05:00
use incrementing auto-restart delay
This commit is contained in:
parent
76c1ae3aaf
commit
ea3d577ac6
@ -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…
Reference in New Issue
Block a user