Update service and script to use DirectoryTailer on ~/.needle/logs instead of the old single-file workers.log path. Rebuild dist/ so the running service picks up Phase 8 directory-tailing changes. - scripts/fabric-web.service: add --source /home/coding/.needle/logs - scripts/fabric-web.sh: replace FABRIC_LOG_PATH with FABRIC_LOG_SOURCE, switch from -f (single file) to --source (directory) mode - Rebuilt dist/ via npm run build - Restarted fabric-web.service (enabled, linger=yes, health: ok) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
376 B
Desktop File
17 lines
376 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 --source /home/coding/.needle/logs
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=NODE_ENV=production
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=fabric-web
|
|
|
|
[Install]
|
|
WantedBy=default.target
|