1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adminer_ynh.git synced 2024-09-03 18:06:06 +02:00
adminer_ynh/scripts/remove

11 lines
228 B
Text
Raw Normal View History

2014-05-08 19:46:08 +02:00
#!/bin/bash
app_name="adminer"
domain=$(sudo yunohost app setting $app_name domain)
sudo rm -rf /var/www/$app_name
sudo rm -f /etc/nginx/conf.d/$domain.d/$app_name.conf
sudo service php5-fpm restart
sudo service nginx reload