FABRIC/scripts/fabric-web.service
jedarden b0f7c5020e feat(bd-288): Add systemd service for persistent FABRIC web server
Deploy FABRIC web dashboard as a systemd user service that starts on
boot and auto-restarts on crash. Includes service.sh management script
for start/stop/restart/deploy operations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 23:51:07 -04:00

17 lines
341 B
Desktop File

[Unit]
Description=FABRIC Web Dashboard
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/coding/FABRIC
ExecStart=/usr/bin/node dist/cli.js web --port 3000
Restart=always
RestartSec=5
Environment=NODE_ENV=production
StandardOutput=journal
StandardError=journal
SyslogIdentifier=fabric-web
[Install]
WantedBy=default.target