Openvpn restarts on failure thanks to systemd

This commit is contained in:
Julien Vaubourg
2015-09-28 15:28:44 +02:00
parent 7b05614b3c
commit 9bc83f4f6a
3 changed files with 7 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ sudo rm -f /etc/openvpn/client.conf{.tpl,.tpl.restore,}
sudo rm -f /etc/nginx/conf.d/${domain}.d/vpnadmin.conf
sudo rm -f /etc/php5/fpm/pool.d/vpnadmin.conf
sudo rm -f /etc/yunohost/hooks.d/90-vpnclient.tpl
sudo rm -f /etc/systemd/system/openvpn@.service
# Remove certificates
sudo rm -rf /etc/openvpn/keys/