Initial commit - Phase 3/4

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael
2026-01-06 13:45:29 -08:00
parent 1da6730735
commit 4f35df1781
323 changed files with 98287 additions and 1195 deletions

View File

@@ -0,0 +1,32 @@
[Unit]
Description=Dangerous Pi Frontend Service
Documentation=https://github.com/grizmin/dangerous-pi
After=network.target dangerous-pi.service
Wants=dangerous-pi.service
[Service]
Type=simple
User=dt
Group=dt
WorkingDirectory=/opt/dangerous-pi/app/frontend
Environment="NODE_ENV=production"
Environment="PORT=3000"
ExecStart=/usr/bin/node node_modules/@remix-run/serve/dist/cli.js build/server/index.js
# Restart policy
Restart=always
RestartSec=5
StartLimitBurst=5
StartLimitInterval=60
# Resource limits (lighter than backend)
MemoryMax=256M
CPUQuota=50%
# Graceful shutdown
TimeoutStopSec=10
KillMode=mixed
KillSignal=SIGTERM
[Install]
WantedBy=multi-user.target