- As the daemons are running when the restore is done then if the daemons are not
restarted the running daemon stays with the previous config and not with the restored
version.
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
rm /var/log/pakfire.log
fi
- # Update the OpenVPN configuration
+ # Update the OpenVPN configuration and restart the openvpn daemons
sudo -u nobody /srv/web/ipfire/cgi-bin/ovpnmain.cgi
+ /etc/init.d/openvpn-n2n restart
+ /etc/init.d/openvpn-rw restart
return 0
}