Enabled libsystemd and change unbound service type to notify-reload
"notify-reload" service type allows unbound to notify systemd not only about its readiness on startup but also about start and finish of reloading process. Resolves: RHEL-77611
This commit is contained in:
parent
66b0ed0714
commit
9537b56d7b
@ -12,7 +12,7 @@ Before=nss-lookup.target
|
||||
Wants=nss-lookup.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Type=notify-reload
|
||||
EnvironmentFile=-/etc/sysconfig/unbound
|
||||
ExecStartPre=/usr/sbin/unbound-checkconf
|
||||
ExecStart=/usr/sbin/unbound -d $UNBOUND_OPTIONS
|
||||
|
@ -2,7 +2,7 @@
|
||||
%{?!with_python3: %global with_python3 1}
|
||||
%{?!with_munin: %global with_munin 1}
|
||||
%bcond_without dnstap
|
||||
%bcond_with systemd
|
||||
%bcond_without systemd
|
||||
%bcond_without doh
|
||||
%bcond_with redis
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user