Add manual VK gateway on/off control scripts

This commit is contained in:
OpenClaw Assistant
2026-02-23 17:38:18 +00:00
parent f21796b1f1
commit 62d89097d3
2 changed files with 10 additions and 0 deletions

5
scripts/vk-gateway-off.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
systemctl --user stop vk-gateway-longpoll.service vk-gateway-endpoint.service
systemctl --user --no-pager --full status vk-gateway-longpoll.service vk-gateway-endpoint.service | sed -n '1,60p'

5
scripts/vk-gateway-on.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
systemctl --user start vk-gateway-endpoint.service vk-gateway-longpoll.service
systemctl --user --no-pager --full status vk-gateway-endpoint.service vk-gateway-longpoll.service | sed -n '1,60p'