fix(workflow): streamline botserver restart process in node.yaml
All checks were successful
GBCI / build (push) Successful in 8m35s
All checks were successful
GBCI / build (push) Successful in 8m35s
This commit is contained in:
parent
c599932c10
commit
46176fe2f3
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