Add systemctl commands to install script
This commit is contained in:
parent
a034c09e9d
commit
a5a7dfef73
1 changed files with 4 additions and 0 deletions
|
@ -8,4 +8,8 @@ cp start.sh install/
|
|||
cargo update
|
||||
cargo build --release
|
||||
|
||||
sudo systemctl stop music-bot
|
||||
|
||||
cp target/release/RMusicBot install/
|
||||
|
||||
sudo systemctl start music-bot
|
||||
|
|
Loading…
Reference in a new issue