From 0ba42ef3cb3aeb95d3d641770ea84e13ba9df6a5 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Oct 2022 10:49:44 +0200 Subject: [PATCH] Testing if you can just pull the rug from under the bot and then restart --- update.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/update.sh b/update.sh index 309d061..6e078b2 100755 --- a/update.sh +++ b/update.sh @@ -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 \ No newline at end of file +systemctl restart discord-bot \ No newline at end of file