devbox/deploy/devbox-hub.service
shoemoney 3a0513de5b chore: fleet deploy scripts + systemd unit 🚚
- deploy/devbox-hub.service: reboot-persistent systemd unit (the one live on .10)
- deploy/redeploy-hub.sh: cross-compile linux/amd64 + ship + restart hub
- deploy/redeploy-client.sh: build + push client to fleet macs
Captures the by-hand deploy flow so redeploys (every M3 endpoint) are one command.
2026-06-22 23:46:53 -05:00

16 lines
504 B
Desktop File

# devbox hub systemd unit (installed at /etc/systemd/system/devbox-hub.service on the hub host).
# Reboot-persistent, auto-restart. Runs as a normal user that owns the data dir.
[Unit]
Description=devbox hub
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/mnt/tank/apps/devbox/devbox-hub serve --data /mnt/tank/apps/devbox/data --listen 0.0.0.0:8088
WorkingDirectory=/mnt/tank/apps/devbox
User=shoemoney
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target