Testing if you can just pull the rug from under the bot and then restart
This commit is contained in:
parent
2e69755e9c
commit
0ba42ef3cb
|
|
@ -1,9 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sleep 5
|
|
||||||
systemctl stop discord-bot
|
|
||||||
sleep 5
|
|
||||||
echo 'Updating...'
|
echo 'Updating...'
|
||||||
git pull origin master
|
git pull origin master
|
||||||
echo 'Finished. Starting bot...'
|
echo 'Finished. Starting bot...'
|
||||||
systemctl start discord-bot
|
systemctl restart discord-bot
|
||||||
Loading…
Reference in New Issue
Block a user