[mod] Hard-coded occurrences of "vpnadmin" replaced with ${app} (where appropriate).

This commit is contained in:
pitchum
2018-05-10 22:38:48 +02:00
committed by pitchum
parent 0c53667839
commit 124d11cebe
2 changed files with 26 additions and 21 deletions

View File

@@ -35,8 +35,8 @@ sudo rm -f /tmp/.ynh-vpnclient-*
# Remove confs
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/nginx/conf.d/${domain}.d/${app}.conf
sudo rm -f /etc/php5/fpm/pool.d/${app}.conf
sudo rm -f /etc/yunohost/hooks.d/90-vpnclient.tpl
sudo rm -f /etc/systemd/system/openvpn@.service
@@ -48,6 +48,6 @@ sudo systemctl restart php5-fpm
sudo systemctl reload nginx
# Remove sources
sudo rm -rf /var/www/vpnadmin/
sudo rm -rf /var/www/${app}/
exit 0