1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chtickynotes_ynh.git synced 2024-09-03 18:15:57 +02:00
chtickynotes_ynh/scripts/remove
Chtixof c63ca08270 Created
Copied from ynh-chtickynotes and begining of boards management
2015-02-26 23:40:40 +01:00

15 lines
297 B
Bash

#!/bin/bash
app=chtickynotes
# Retrieve arguments
domain=$(sudo yunohost app setting $app domain)
# Remove sources
sudo rm -rf /var/www/$app
# Remove configuration files
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
# Restart services
sudo service nginx reload
sudo yunohost app ssowatconf