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
|
- name: Restart Bots Deployer
|
||||||
run: |
|
run: |
|
||||||
echo "[General Bots Deployer] Restarting..."
|
echo "[General Bots Deployer] Restarting..."
|
||||||
|
sudo systemctl stop botserver
|
||||||
|
echo "[General Bots Deployer] Stopped."
|
||||||
timeout 10 sudo systemctl stop botserver
|
sudo systemctl start botserver
|
||||||
timeout 10 sudo systemctl start botserver
|
|
||||||
sudo systemctl status botserver
|
|
||||||
|
|
||||||
echo "[General Bots Deployer] Started."
|
echo "[General Bots Deployer] Started."
|
||||||
|
|
Loading…
Add table
Reference in a new issue