From 4f34bd33031b614419e081467a05dde34dd01afc Mon Sep 17 00:00:00 2001 From: Chuah Chee Shian Date: Fri, 5 Apr 2019 00:39:00 +0800 Subject: [PATCH] fixed rsyslog deprecated discard from ~ to stop --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index f743d05..1822e66 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -1021,7 +1021,7 @@ confOVPN() { confLogging() { echo "if \$programname == 'ovpn-server' then /var/log/openvpn.log -if \$programname == 'ovpn-server' then ~" | $SUDO tee /etc/rsyslog.d/30-openvpn.conf > /dev/null +if \$programname == 'ovpn-server' then stop" | $SUDO tee /etc/rsyslog.d/30-openvpn.conf > /dev/null echo "/var/log/openvpn.log {