mirror of
https://github.com/YunoHost-Apps/ffsync_ynh.git
synced 2024-09-03 18:26:38 +02:00
Update remove
This commit is contained in:
parent
6c05658c9a
commit
a10b4ee943
1 changed files with 5 additions and 5 deletions
|
@ -8,10 +8,10 @@ domain=$(sudo yunohost app setting ffsync domain)
|
||||||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
||||||
sudo rm -rf /opt/yunohost/ffsync
|
sudo rm -rf /opt/yunohost/ffsync
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/ffsync.conf
|
sudo rm -f /etc/nginx/conf.d/$domain.d/ffsync.conf
|
||||||
sudo rm -f /etc/uwsgi/apps-enabled/ffsync.ini
|
sudo service ffsync stop
|
||||||
sudo rm -f /etc/uwsgi/apps-available/ffsync.ini
|
sudo update-rc.d ffsync remove
|
||||||
|
sudo rm /etc/init.d/ffsync
|
||||||
|
|
||||||
sudo service uwsgi stop
|
|
||||||
sudo killall uwsgi
|
sudo service nginx reload
|
||||||
sudo service uwsgi start
|
|
||||||
sudo userdel ffsync
|
sudo userdel ffsync
|
||||||
|
|
Loading…
Reference in a new issue