mumble-stats-api/.tci

9 lines
246 B
Bash
Executable file

#!/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