first commit

Adding scripts Primitives "install" " delete" "upgrade" and nginx conf
This commit is contained in:
Jeremy MANSON
2016-03-07 10:19:14 +01:00
parent c8ece66482
commit 93a05133b0
6 changed files with 111 additions and 0 deletions

11
scripts/remove Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
domain=$(sudo yunohost app setting shinken domain)
sudo rm /etc/nginx/conf.d/$domain.d/shinken.conf
sudo rm -rf /home/yunohost.app/shinken
sudo sudo update-rc.d -f shinken remove
sudo service nginx reload
sudo yunohost app ssowatconf