mirror of
https://git.alemi.dev/mumble-stats-api.git
synced 2024-11-14 04:29:19 +01:00
9 lines
258 B
Bash
Executable file
9 lines
258 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cargo build --release --all-features
|
|
echo "stopping service"
|
|
systemctl --user stop mumble-stats
|
|
echo "replacing binary"
|
|
mv ./target/release/mumble-stats-api /opt/bin/mumble-stats-api
|
|
echo "restarting service"
|
|
systemctl --user start mumble-stats
|