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

13 lines
305 B
Text
Raw Normal View History

2016-04-29 16:32:48 +02:00
#!/bin/bash
domain=$(sudo yunohost app setting rocketchat domain)
sudo rm -rf /var/www/rocketchat
sudo rm -f /etc/nginx/conf.d/$domain.d/rocketchat.conf
sudo rm -Rf /var/log/rocketchat/
2016-04-29 21:12:10 +02:00
sudo systemctl stop Rocketchat.service
sudo rm /etc/systemd/system/Rocketchat.service
2016-04-29 21:25:32 +02:00
sudo systemctl restart nginx
2016-04-29 16:32:48 +02:00