Change service type to notify
notify-reload was a mistake. It unconditionally sends signal to service process additionally to executing ExecReload which does not make sense. Resolves: RHEL-77790
This commit is contained in:
parent
ef523c75f6
commit
67a0f749d9
@ -8,7 +8,7 @@ Before=nss-lookup.target
|
||||
Wants=nss-lookup.target
|
||||
|
||||
[Service]
|
||||
Type=notify-reload
|
||||
Type=notify
|
||||
EnvironmentFile=-/etc/sysconfig/unbound
|
||||
ExecStartPre=/usr/sbin/unbound-checkconf
|
||||
ExecStartPre=/bin/bash -c 'if [ ! "$DISABLE_UNBOUND_ANCHOR" == "yes" ]; then /usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem -f /etc/resolv.conf -R; else echo "Updates of root keys with unbound-anchor is disabled"; fi'
|
||||
|
Loading…
Reference in New Issue
Block a user