# # Setup Logging # # Load utility functions . ./functions.sh # Disable rsyslog if [ "$ENABLE_RSYSLOG" = false ] ; then sed -i "s|[#]*ForwardToSyslog=yes|ForwardToSyslog=no|g" "${ETCDIR}/systemd/journald.conf" chroot_exec systemctl disable rsyslog chroot_exec apt-get -qq -y --force-yes purge rsyslog fi