diff --git a/.forgejo/workflows/node.yaml b/.forgejo/workflows/node.yaml index a8656f4a..8af55443 100644 --- a/.forgejo/workflows/node.yaml +++ b/.forgejo/workflows/node.yaml @@ -46,8 +46,8 @@ jobs: run: | echo "[General Bots Deployer] Restarting..." - cd /opt/gbo/bin/BotServer + sudo systemctl daemon-reload + sudo systemctl restart botserver + sudo systemctl status botserver - pkill -f "node ./boot.mjs" || true - - nohup npm run start > /dev/null 2>&1 & \ No newline at end of file + echo "[General Bots Deployer] Started."