init: workspace opencode sync
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Poller untuk tombol "Reset" di pesan expired hotspot (msr)
|
||||
# Dijalankan setiap menit dari cron host. Menjamin container hidup
|
||||
# (sablier bisa mematikannya setelah 5m idle) lalu poll callback query.
|
||||
CB_KEY="msr-2026-reset"
|
||||
URL="http://172.18.0.15/telegram-cb.php?key=${CB_KEY}"
|
||||
|
||||
docker start mikhmon >/dev/null 2>&1
|
||||
sleep 1
|
||||
curl -s -m 30 "$URL" >/dev/null 2>&1
|
||||
Reference in New Issue
Block a user