diff --git a/.tci b/.tci index adf484c..69920e4 100755 --- a/.tci +++ b/.tci @@ -1,6 +1,9 @@ #!/bin/bash cargo build --release +echo "stopping service" systemctl --user stop mumble-stats +echo "replacing binary" cat ./target/release/mumble-stats-api > /opt/bin/mumble-stats-api +echo "restarting service" systemctl --user start mumble-stats