# ───────────────────────────────────────────────────────────────────────────── # systemd unit for the SkateSpots push service (Bun, on the CVM host). # Installed by scripts/deploy-push.sh — do not hand-edit on the host. # ───────────────────────────────────────────────────────────────────────────── [Unit] Description=SkateSpots push service After=network-online.target Wants=network-online.target [Service] Type=simple User=ubuntu WorkingDirectory=/home/ubuntu/skatespots-push EnvironmentFile=/home/ubuntu/skatespots-push/.env ExecStart=/home/ubuntu/.bun/bin/bun run server.ts Restart=always RestartSec=5 StandardOutput=journal StandardError=journal SyslogIdentifier=skatespots-push # Basic hardening — mirrors the AI proxy unit (bun stays happy; binds localhost). NoNewPrivileges=true PrivateTmp=true [Install] WantedBy=multi-user.target