mumble-stats-api/.tci

10 lines
258 B
Text
Raw Permalink Normal View History

2024-02-17 04:12:13 +01:00
#!/bin/bash
2024-05-27 19:40:05 +02:00
cargo build --release --all-features
2024-02-22 05:14:07 +01:00
echo "stopping service"
2024-02-21 23:57:26 +01:00
systemctl --user stop mumble-stats
2024-02-22 05:14:07 +01:00
echo "replacing binary"
2024-05-27 19:40:05 +02:00
mv ./target/release/mumble-stats-api /opt/bin/mumble-stats-api
2024-02-22 05:14:07 +01:00
echo "restarting service"
2024-02-22 04:59:34 +01:00
systemctl --user start mumble-stats