mirror of
https://github.com/YunoHost-Apps/yacy_ynh.git
synced 2024-09-03 18:05:59 +02:00
Remove things useless in remove srcipt
This commit is contained in:
parent
a68c7e6e69
commit
89bd6761ed
1 changed files with 0 additions and 4 deletions
|
@ -4,7 +4,3 @@ db_user=yacy
|
||||||
db_name=yacy
|
db_name=yacy
|
||||||
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
||||||
domain=$(sudo yunohost app setting yacy domain)
|
domain=$(sudo yunohost app setting yacy domain)
|
||||||
|
|
||||||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user ;"
|
|
||||||
sudo rm -rf /var/www/yacy
|
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/yacy.conf
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue