1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00
thelounge_ynh/scripts/remove

16 lines
352 B
Bash

#!/bin/bash
domain=$(sudo yunohost app setting shout domain)
sudo systemctl stop shout
sudo systemctl disable shout
sudo yunohost service remove shout
sudo rm -rf /var/www/shout
sudo rm -f /etc/nginx/conf.d/$domain.d/shout.conf
sudo rm -f /etc/systemd/system/shout.service
sudo userdel shout
sudo service nginx reload
sudo yunohost app ssowatconf