Always auto-restart on crash events
Although no way of crashing is known, ensure unbound will restart itself in case of crash. That should minimize possible damage and allow less degraded service until a fix for crashes arrives. Do not try to restart on configuration failures. There restarts will not likely to fix the issue anyway.
This commit is contained in:
parent
c89e088ab8
commit
a8b2f2adc2
@ -14,6 +14,7 @@ EnvironmentFile=-/etc/sysconfig/unbound
|
||||
ExecStartPre=/usr/sbin/unbound-checkconf
|
||||
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
||||
ExecReload=/usr/sbin/unbound-control reload
|
||||
Restart=on-abnormal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user