1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00
grav_ynh/scripts/remove
2015-11-11 18:03:16 +01:00

10 lines
No EOL
235 B
Bash

#!/bin/bash
domain=$(sudo yunohost app setting grav domain)
sudo rm -rf /var/www/grav
sudo rm -f /etc/nginx/conf.d/$domain.d/grav.conf
sudo rm -f /etc/php5/fpm/pool.d/grav.conf
sudo service php5-fpm restart
sudo service nginx reload