From d285073c964da9370031037c2567f164bceddcc7 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 3 May 2021 14:20:41 +0200 Subject: [PATCH] unbound: Store PID file on ephemeral `/run` The PID is not needed after a reboot, so store it on `/run` where it gets removed, once the system shuts down. --- unbound.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unbound.be0 b/unbound.be0 index ae223de3b..fa8f608ae 100755 --- a/unbound.be0 +++ b/unbound.be0 @@ -56,7 +56,7 @@ SRCURL[0]="https://www.unbound.net/downloads/unbound-${PKGVERSION}.tar.gz" mee_configure() { bee_configure \ --disable-static \ - --with-pidfile="/var/unbound/unbound.pid" \ + --with-pidfile="/run/unbound.pid" \ --with-rootkey-file="/var/unbound/root.key" }