From ebb66ccf61c6b1fc6259bdc36afe60a631e159d6 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 20 Mar 2023 12:01:37 +0100 Subject: [PATCH] unbound: Use /run instead of /var/run Signed-off-by: Stefan Schantl --- unbound/unbound.nm | 4 ++-- unbound/unbound.tmpfiles | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/unbound/unbound.nm b/unbound/unbound.nm index 4b0df5551..daba56558 100644 --- a/unbound/unbound.nm +++ b/unbound/unbound.nm @@ -5,7 +5,7 @@ name = unbound version = 1.17.0 -release = 2 +release = 3 groups = System/Daemons url = https://www.nlnetlabs.nl/unbound/ @@ -33,7 +33,7 @@ build configure_options += \ --with-conf-file=%{sysconfdir}/%{name}/unbound.conf \ - --with-pidfile=%{localstatedir}/run/%{name}/%{name}.pid \ + --with-pidfile=/run/%{name}/%{name}.pid \ --with-rootkey-file=%{sharedstatedir}/unbound/root.key \ --without-libevent \ --with-pthreads \ diff --git a/unbound/unbound.tmpfiles b/unbound/unbound.tmpfiles index d6255896c..bb88f01e2 100644 --- a/unbound/unbound.tmpfiles +++ b/unbound/unbound.tmpfiles @@ -1 +1 @@ -D /var/run/unbound 0755 unbound unbound - +D /run/unbound 0755 unbound unbound - -- 2.39.2