BUG10790: create dummy ovpnserver.log in /var/run

This commit is contained in:
Alexander Marx
2015-04-07 15:22:46 +02:00
committed by Michael Tremer
parent d2dabe5eba
commit 7ca64c9f0b
2 changed files with 9 additions and 0 deletions

View File

@@ -39,6 +39,12 @@ done
# Extract files
extract_files
# Update /etc/sysconfig/createfiles
cat <<EOF >> /etc/sysconfig/createfiles
/var/run/ovpnserver.log file 644 nobody nobody
/var/run/openvpn dir 644 nobody nobody
EOF
# Generate ddns configuration file
sudo -u nobody /srv/web/ipfire/cgi-bin/ddns.cgi

View File

@@ -25,4 +25,7 @@
# <major> and <minor> are the major and minor numbers used for the device.
########################################################################
/var/run/ovpnserver.log file 644 nobody nobody
/var/run/openvpn dir 644 nobody nobody
# End /etc/sysconfig/createfiles