diff options
author | Badchay <badchay@protonmail.com> | 2024-01-03 10:04:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-03 10:10:40 +0700 |
commit | 04ee3527ba2739b4f3d1d875479966d50c1b8257 (patch) | |
tree | f454d537e6a5d00a0d7f46a41b6bac176dac73d7 /network/unbound/rc.unbound | |
parent | 86ea6762e06047a54df751f557e7d183e0ea4d26 (diff) |
network/unbound: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/unbound/rc.unbound')
-rw-r--r-- | network/unbound/rc.unbound | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/unbound/rc.unbound b/network/unbound/rc.unbound index 450e395794daf..f4c9f1223ae50 100644 --- a/network/unbound/rc.unbound +++ b/network/unbound/rc.unbound @@ -5,7 +5,7 @@ UNBOUND=/usr/sbin/unbound CONFIG=/etc/unbound/unbound.conf -PIDFILE=/var/run/unbound/unbound.pid +PIDFILE=/run/unbound/unbound.pid LOGDIR=/var/log/unbound # Unbound-control is useful but I'm not going to cram it @@ -30,7 +30,7 @@ initchecks() { echo "Removing $PIDFILE" rm -vf $PIDFILE fi - # Check that /var/run/unbound exists. If not, create and chown it. + # Check that /run/unbound exists. If not, create and chown it. if [ ! -e $(dirname $PIDFILE) ]; then mkdir -p $(dirname $PIDFILE) chown unbound:unbound $(dirname $PIDFILE) |