summaryrefslogtreecommitdiffstats
path: root/source/n/bind/default.named
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-09-25 01:05:55 +0000
committer Eric Hameleers <alien@slackware.com>2021-09-25 08:59:58 +0200
commit33d703602d5c2f4d51f5a253fbc3939d30729aaf (patch)
tree4eaf2e003461a6cd41b4c67bb2c7556569b6f7b4 /source/n/bind/default.named
parent0f7d38bee156c0926945743e1902ece2b531809f (diff)
downloadcurrent-33d703602d5c2f4d51f5a253fbc3939d30729aaf.tar.gz
current-33d703602d5c2f4d51f5a253fbc3939d30729aaf.tar.xz
Sat Sep 25 01:05:55 UTC 202120210925010555
a/coreutils-9.0-x86_64-1.txz: Upgraded. Thanks to GazL for pointing out where I needed to be looking in the code to stick with the traditional (for us, anyway) ls quoting style. n/ca-certificates-20210924-noarch-1.txz: Upgraded. Removed DST_Root_CA_X3.crt. n/cifs-utils-6.14-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/bind/default.named')
-rw-r--r--source/n/bind/default.named21
1 files changed, 9 insertions, 12 deletions
diff --git a/source/n/bind/default.named b/source/n/bind/default.named
index 2983934f4..50e18664b 100644
--- a/source/n/bind/default.named
+++ b/source/n/bind/default.named
@@ -1,15 +1,12 @@
# User to run named as:
-BIND_USER=named
+NAMED_USER=named
-# By default, named will also run as the primary group of $BIND_USER.
-# We will determine this now for the purpose of also chowning /run/named
-# and /var/named to this group. You may also comment this section out and
-# set BIND_GROUP manually if desired.
-BIND_GROUP="$(groups $BIND_USER | cut -f 3 -d " ")"
-# Fallback if there's no primary group for $BIND_USER:
-if [ -z "$BIND_GROUP" ]; then
- BIND_GROUP=wheel
-fi
+# Group to use for chowning named related files and directories.
+# By default, named will also run as the primary group of $NAMED_USER,
+# which will usually be the same as what's listed below, but not
+# necessarily if something other than the default of "named" is used.
+NAMED_GROUP=named
-# Options to run named with:
-NAMED_OPTIONS="-u $BIND_USER"
+# Options to run named with. At least -u $NAMED_USER is required, but
+# additional options may be added if needed.
+NAMED_OPTIONS="-u $NAMED_USER"