From 02d1fbd5d37751af40ff446a42e5d5c8351e9510 Mon Sep 17 00:00:00 2001 From: pjv Date: Fri, 23 Feb 2024 10:37:17 -0600 Subject: [PATCH] Update DEPLOYING.md Add steps to update chorus. Not sure if I missed anything here, but this is what I just did and it seemed to work ok. --- docs/DEPLOYING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/DEPLOYING.md b/docs/DEPLOYING.md index 3c627e8..cae0835 100644 --- a/docs/DEPLOYING.md +++ b/docs/DEPLOYING.md @@ -174,6 +174,16 @@ You can watch the logs with a command like this sudo journalctl -f -u chorus.service ``` +## Updating +````bash +cd /opt/chorus/src/chorus +git pull +cargo build --release +sudo install --mode=0700 --owner=chorus ./target/release/chorus /opt/chorus/sbin/chorus +sudo install --mode=0700 --owner=chorus ./target/release/dump /opt/chorus/sbin/dump +sudo systemctl restart chorus.service +```` + ## Uninstalling ```bash