mumble-stats-api/.tci

10 lines
246 B
Text
Raw Permalink Normal View History

2024-02-17 04:12:13 +01:00
#!/bin/bash
cargo build --release
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-02-22 04:59:34 +01:00
cat ./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