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
|
- 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