mirror of
https://github.com/ZeJMaN/shinken_ynh.git
synced 2025-07-08 04:40:49 +02:00
first commit
Adding scripts Primitives "install" " delete" "upgrade" and nginx conf
This commit is contained in:
11
scripts/remove
Normal file
11
scripts/remove
Normal 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
|
Reference in New Issue
Block a user