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
2014-07-22 16:08:09 +02:00

10 lines
228 B
Bash

#!/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