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-77611
This commit is contained in:
Tomas Korbar 2025-02-07 14:44:46 +01:00
parent 9537b56d7b
commit ffc66a1f65

View File

@ -12,7 +12,7 @@ Before=nss-lookup.target
Wants=nss-lookup.target Wants=nss-lookup.target
[Service] [Service]
Type=notify-reload Type=notify
EnvironmentFile=-/etc/sysconfig/unbound EnvironmentFile=-/etc/sysconfig/unbound
ExecStartPre=/usr/sbin/unbound-checkconf ExecStartPre=/usr/sbin/unbound-checkconf
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS