libreerp_ynh/scripts/remove

13 lines
222 B
Text
Raw Normal View History

2015-09-14 17:12:17 +02:00
#!/bin/bash
app=docker
# TO BE DONE
# Remove NGINX conf
domain=$(sudo yunohost app setting $app domain)
sudo rm /etc/nginx/conf.d/$domain.d/$app.conf
# Reload
sudo service nginx reload
sudo yunohost app ssowatconf