mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Update remove
This commit is contained in:
parent
bc000b9359
commit
ea109f691a
1 changed files with 6 additions and 1 deletions
|
@ -8,7 +8,12 @@ full_path=$(sudo yunohost app setting diaspora final_path)
|
||||||
|
|
||||||
sudo service diaspora_ynh stop
|
sudo service diaspora_ynh stop
|
||||||
|
|
||||||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
#=================================================
|
||||||
|
# REMOVE THE MYSQL DATABASE
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Remove a database if it exists, along with the associated user
|
||||||
|
ynh_mysql_remove_db $db_name $db_name
|
||||||
|
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/diaspora.conf
|
sudo rm -f /etc/nginx/conf.d/$domain.d/diaspora.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue