From 1674b2f646448630454c2cf48745bdeab12b60a0 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Wed, 21 Feb 2024 11:55:14 +1300 Subject: [PATCH] docs: uninstall --- docs/DEPLOYING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/DEPLOYING.md b/docs/DEPLOYING.md index c19ded4..02891e6 100644 --- a/docs/DEPLOYING.md +++ b/docs/DEPLOYING.md @@ -173,3 +173,13 @@ You can watch the logs with a command like this sudo journalctl -f -u chorus.service ``` +## Uninstalling + +```bash +sudo systemctl disable chorus.service +sudo rm -f /etc/nginx/sites-available/chorus.nginx.conf +sudo rm -f /etc/nginx/sites-enabled/chorus.nginx.conf +sudo systemctl restart nginx.service +sudo rm -rf /opt/chorus +sudo userdel chorus +```