Stop timer when removing

This commit is contained in:
Julien Vaubourg
2016-08-14 22:13:41 +02:00
parent 43d44616fa
commit d6b7958064
2 changed files with 10 additions and 9 deletions

View File

@@ -21,7 +21,8 @@
domain=$(sudo yunohost app setting vpnclient domain)
# The End
sudo systemctl disable ynh-vpnclient-checker.timer && sleep 1
sudo systemctl stop ynh-vpnclient-checker.timer && sleep 1
sudo systemctl disable ynh-vpnclient-checker.timer
sudo systemctl stop ynh-vpnclient
sudo systemctl disable ynh-vpnclient
sudo yunohost service remove ynh-vpnclient