Testing if you can just pull the rug from under the bot and then restart

This commit is contained in:
root 2022-10-20 10:49:44 +02:00
parent 2e69755e9c
commit 0ba42ef3cb

View File

@ -1,9 +1,6 @@
#!/bin/bash
sleep 5
systemctl stop discord-bot
sleep 5
echo 'Updating...'
git pull origin master
echo 'Finished. Starting bot...'
systemctl start discord-bot
systemctl restart discord-bot