Merge pull request #711 from shian15810/master

Fixed rsyslog deprecated discard from ~ to stop
This commit is contained in:
james-lasersoft 2019-04-10 00:41:50 -05:00 committed by GitHub
commit bd6a1e10ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
{