mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Merge pull request #711 from shian15810/master
Fixed rsyslog deprecated discard from ~ to stop
This commit is contained in:
commit
bd6a1e10ac
1 changed files with 1 additions and 1 deletions
|
@ -1021,7 +1021,7 @@ confOVPN() {
|
||||||
|
|
||||||
confLogging() {
|
confLogging() {
|
||||||
echo "if \$programname == 'ovpn-server' then /var/log/openvpn.log
|
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
|
echo "/var/log/openvpn.log
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue