Add auto-deployment infrastructure for all 4 LXCs
- Per-LXC deploy scripts (lxc151-hookshot, lxc106-cinny, lxc139-landing, lxc110-draupnir) - Per-LXC webhook hook configs with unique HMAC-SHA256 secrets - Livekit graceful restart script + systemd timer (waits for zero active calls) - Fix hookshot/deploy.sh capitalization bug (Uptime-Kuma, Tinker-Tickets, etc.) Each LXC independently clones repo and runs its own deploy.sh via adnanh/webhook on port 9000. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
9
systemd/livekit-graceful-restart.service
Normal file
9
systemd/livekit-graceful-restart.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=LiveKit graceful restart when no active calls
|
||||
After=livekit-server.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/livekit-graceful-restart.sh
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
9
systemd/livekit-graceful-restart.timer
Normal file
9
systemd/livekit-graceful-restart.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Check every 5 minutes if a pending livekit restart can be applied
|
||||
|
||||
[Timer]
|
||||
OnBootSec=5min
|
||||
OnUnitActiveSec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user