2015-08-22 20:24:46 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-11-24 11:44:51 +01:00
|
|
|
domain=$(sudo yunohost app setting thelounge domain)
|
2015-08-22 20:24:46 +02:00
|
|
|
|
2016-11-24 11:44:51 +01:00
|
|
|
sudo systemctl stop thelounge
|
|
|
|
sudo systemctl disable thelounge
|
|
|
|
sudo yunohost service remove thelounge
|
2015-08-22 20:24:46 +02:00
|
|
|
|
2016-11-24 11:44:51 +01:00
|
|
|
sudo rm -rf /var/www/thelounge
|
|
|
|
sudo rm -f /etc/nginx/conf.d/$domain.d/thelounge.conf
|
|
|
|
sudo rm -f /etc/systemd/system/thelounge.service
|
2015-08-22 20:24:46 +02:00
|
|
|
|
2016-11-24 11:44:51 +01:00
|
|
|
sudo userdel thelounge
|
2015-08-23 10:52:46 +02:00
|
|
|
|
2015-08-22 20:24:46 +02:00
|
|
|
sudo service nginx reload
|
|
|
|
sudo yunohost app ssowatconf
|