1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

Update remove

This commit is contained in:
nemsia 2017-04-10 15:40:28 +02:00 committed by GitHub
parent 81df00a1a6
commit 226cbaad59

View file

@ -75,6 +75,9 @@ ynh_psql_drop_user $app
SECURE_REMOVE '/opt/$app'
[[ -n $domain ]] && sudo rm -f "/etc/nginx/conf.d/${domain}.d/${app}.conf"
# Suppression d'un lien symbolique
rm /usr/bin/ruby
REMOVE_NGINX_CONF # Suppression de la configuration nginx
SECURE_REMOVE '/var/log/$app/' # Suppression des log
@ -85,4 +88,4 @@ sudo userdel -f $app
# Reload services
sudo service nginx reload
echo -e "\e[0m" # Restore normal color
echo -e "\e[0m" # Restore normal color