[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
parent aa7bbd6a4c
commit 53c4d6c0dc
2 changed files with 18 additions and 18 deletions

View File

@@ -48,8 +48,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
@@ -61,5 +61,5 @@ sudo systemctl restart php5-fpm
sudo systemctl reload nginx
# Remove sources
sudo rm -rf /var/www/vpnadmin/
sudo rm -rf /var/www/${app}/