mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-23 21:30:15 +00:00
Add missing leading slash
Introduced with: https://github.com/pivpn/pivpn/pull/1362 Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
parent
090642fd7d
commit
8797b60374
1 changed files with 1 additions and 1 deletions
|
@ -2152,7 +2152,7 @@ confNetwork(){
|
||||||
|
|
||||||
confLogging() {
|
confLogging() {
|
||||||
# Pre-create rsyslog/logrotate config directories if missing, to assure logs are handled as expected when those are installed at a later time
|
# Pre-create rsyslog/logrotate config directories if missing, to assure logs are handled as expected when those are installed at a later time
|
||||||
$SUDO mkdir -p etc/{rsyslog,logrotate}.d
|
$SUDO mkdir -p /etc/{rsyslog,logrotate}.d
|
||||||
|
|
||||||
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 stop" | $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
|
||||||
|
|
Loading…
Reference in a new issue