scripts: add auth management and Termux widget scripts

This commit is contained in:
L36 Server authored and Peter Steinberger committed 2026-01-09 00:34:38 +00:00
1 parent 8f21f34b1c
commit 6484195bfe
10 files changed
+708

No files matched your search

@@ -0,0 +1,14 @@
[Unit]
Description=Clawdbot Auth Expiry Monitor
After=network.target
[Service]
Type=oneshot
ExecStart=/home/admin/clawdbot/scripts/auth-monitor.sh
# Configure notification channels via environment
Environment=WARN_HOURS=2
# Environment=NOTIFY_PHONE=+1234567890
# Environment=NOTIFY_NTFY=clawdbot-alerts
[Install]
WantedBy=default.target
@@ -0,0 +1,10 @@
[Unit]
Description=Check Clawdbot auth expiry every 30 minutes
[Timer]
OnBootSec=5min
OnUnitActiveSec=30min
Persistent=true
[Install]
WantedBy=timers.target