From a28c3d2ed22048bc3a291f4822728ffe49d81060 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 27 Aug 2024 16:11:33 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/tmp/etc/bind/named.conf rootfs/usr/local/etc/docker/init.d/00-named.sh --- rootfs/tmp/etc/bind/named.conf | 2 +- rootfs/usr/local/etc/docker/init.d/00-named.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rootfs/tmp/etc/bind/named.conf b/rootfs/tmp/etc/bind/named.conf index face26c..285a36f 100644 --- a/rootfs/tmp/etc/bind/named.conf +++ b/rootfs/tmp/etc/bind/named.conf @@ -48,7 +48,7 @@ options { ##################################################################### # named logging options logging { -channel debug { file "REPLACE_LOG_DIR/debug.info" versions 0 size 5m; severity debug; }; +channel debug { file "REPLACE_LOG_DIR/debug.run" versions 0 size 5m; severity debug; }; channel querylog { file "REPLACE_LOG_DIR/querylog.log" versions 0 size 5m; severity info; print-time yes; }; channel security { file "REPLACE_LOG_DIR/security.log" versions 0 size 5m; severity dynamic; print-severity yes; print-time yes; }; channel xfer-in { file "REPLACE_LOG_DIR/xfer.log" versions 0 size 5m; severity info; print-category yes; print-severity yes; print-time yes; }; diff --git a/rootfs/usr/local/etc/docker/init.d/00-named.sh b/rootfs/usr/local/etc/docker/init.d/00-named.sh index af8ed0a..319a951 100755 --- a/rootfs/usr/local/etc/docker/init.d/00-named.sh +++ b/rootfs/usr/local/etc/docker/init.d/00-named.sh @@ -118,9 +118,9 @@ SERVICE_UID="0" # set the user id SERVICE_GID="0" # set the group id # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # execute command variables - keep single quotes variables will be expanded later -EXEC_CMD_BIN='named' # command to execute -EXEC_CMD_ARGS='-f -c $ETC_DIR/named.conf' # command arguments -EXEC_PRE_SCRIPT='' # execute script before +EXEC_CMD_BIN='named' # command to execute +EXEC_CMD_ARGS='-f -g -u $SERVICE_USER -c $ETC_DIR/named.conf' # command arguments +EXEC_PRE_SCRIPT='' # execute script before # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Is this service a web server IS_WEB_SERVER="no" @@ -250,8 +250,8 @@ __update_conf_files() { # custom commands mkdir -p "$CONF_DIR/keys" "$CONF_DIR/secrets" mkdir -p "$ETC_DIR/keys" "$ETC_DIR/secrets" "$VAR_DIR/primary" "$VAR_DIR/secondary" "$VAR_DIR/stats" "$VAR_DIR/dynamic" - for logfile in xfer update notify querylog default debug security; do - touch "$LOG_DIR/$logfile.log" + for logfile in debug.run querylog.log security.log xfer.log update.log notify.log client.log default.log general.log database.log; do + touch "$LOG_DIR/$logfile" chmod -Rf 777 "$logfile" done # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -