summaryrefslogtreecommitdiffstats
path: root/source/n/bind/default.named
diff options
context:
space:
mode:
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"