mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 07:53:01 +02:00
BUG10790: create dummy ovpnserver.log in /var/run
This commit is contained in:
committed by
Michael Tremer
parent
d2dabe5eba
commit
7ca64c9f0b
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user