[mod] Hard-coded occurrences of "vpnadmin" replaced with ${app} (where appropriate).
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user