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:
Tomas Korbar 2025-02-04 10:53:14 +01:00
parent 66b0ed0714
commit 9537b56d7b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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