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:
parent
81df00a1a6
commit
226cbaad59
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue