Initial commit
This commit is contained in:
13
bootstrap.d/31-logging.sh
Normal file
13
bootstrap.d/31-logging.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Setup Logging
|
||||
#
|
||||
|
||||
# Load utility functions
|
||||
. ./functions.sh
|
||||
|
||||
# Disable rsyslog
|
||||
if [ "$ENABLE_RSYSLOG" = false ] ; then
|
||||
sed -i "s|[#]*ForwardToSyslog=yes|ForwardToSyslog=no|g" "${ETC_DIR}/systemd/journald.conf"
|
||||
chroot_exec systemctl disable rsyslog
|
||||
chroot_exec apt-get -qq -y purge rsyslog
|
||||
fi
|
||||
Reference in New Issue
Block a user