Merge pull request #1363 from MichaIng/patch-1

Add missing leading slash
This commit is contained in:
4s3ti 2021-10-11 16:30:21 +02:00 committed by GitHub
commit d7f73b6342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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