fix(workflow): streamline botserver restart process in node.yaml
This commit is contained in:
parent
d912667dee
commit
4301bb64c4
1 changed files with 3 additions and 6 deletions
|
|
@ -45,10 +45,7 @@ jobs:
|
|||
- name: Restart Bots Deployer
|
||||
run: |
|
||||
echo "[General Bots Deployer] Restarting..."
|
||||
|
||||
|
||||
timeout 10 sudo systemctl stop botserver
|
||||
timeout 10 sudo systemctl start botserver
|
||||
sudo systemctl status botserver
|
||||
|
||||
sudo systemctl stop botserver
|
||||
echo "[General Bots Deployer] Stopped."
|
||||
sudo systemctl start botserver
|
||||
echo "[General Bots Deployer] Started."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue