a8b2f2adc2
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.
21 lines
503 B
Desktop File
21 lines
503 B
Desktop File
[Unit]
|
|
Description=Unbound recursive Domain Name Server
|
|
After=network-online.target
|
|
After=unbound-keygen.service
|
|
Wants=unbound-keygen.service
|
|
After=unbound-anchor.service
|
|
Wants=unbound-anchor.service
|
|
Before=nss-lookup.target
|
|
Wants=nss-lookup.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
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
|