Skip to content

Commit

Permalink
unbound: Store PID file on ephemeral /run
Browse files Browse the repository at this point in the history
The PID is not needed after a reboot, so store it on `/run` where it
gets removed, once the system shuts down.
  • Loading branch information
pmenzel committed May 28, 2021
1 parent 238b0e3 commit 2b2d21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unbound.be0
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 2b2d21e

Please sign in to comment.