mirror of
https://github.com/YunoHost-Apps/ethercalc_ynh.git
synced 2024-09-03 18:26:36 +02:00
Update remove
This commit is contained in:
parent
c4fbabdc45
commit
924d9cb451
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,12 @@ name+="calc"
|
||||||
domain=$(sudo yunohost app setting $app domain)
|
domain=$(sudo yunohost app setting $app domain)
|
||||||
# Remove nodejs
|
# Remove nodejs
|
||||||
ynh_remove_nodejs
|
ynh_remove_nodejs
|
||||||
|
#=================================================
|
||||||
|
# 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/$app.conf
|
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
sudo rm -Rf /var/log/$name/$app.log*
|
sudo rm -Rf /var/log/$name/$app.log*
|
||||||
sudo update-rc.d $app remove
|
sudo update-rc.d $app remove
|
||||||
|
|
Loading…
Reference in a new issue