core89: Create temporary files in update to avoid reboot
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Apr 2015 08:24:44 +0000 (10:24 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Apr 2015 08:24:44 +0000 (10:24 +0200)
config/rootfiles/core/89/update.sh

index 832feaa..4043154 100644 (file)
@@ -72,6 +72,12 @@ rm -f \
 /usr/sbin/ovpn-collectd-convert
 chown nobody.nobody /var/ipfire/ovpn/collectd.vpn
 
+mkdir -p /var/run/openvpn
+touch /var/run/ovpnserver.log
+chown nobody.nobody \
+       /var/run/openvpn \
+       /var/run/ovpnserver.log
+
 # Fix #10625
 mkdir -p /etc/logrotate.d