- Add PID directory creation in setup-directories.sh - Update start.sh to use /var/run/furt/furt.pid for both platforms - Fix OpenBSD rc.d script pidfile variable path - Correct systemd service PIDFile parameter path - Resolve rcctl check detection issues on OpenBSD Fixes service detection problems where rcctl check would show (failed) even when service was running. PID-file approach provides reliable cross-platform service status detection instead of fragile pexp patterns. Related DAW/furt#100
19 lines
346 B
Desktop File
19 lines
346 B
Desktop File
[Unit]
|
|
Description=furt Multi-Tenant API Gateway
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=furt
|
|
Group=furt
|
|
ExecStart=/usr/local/share/furt/scripts/start.sh
|
|
PIDFile=/var/run/furt/furt.pid
|
|
WorkingDirectory=/usr/local/share/furt
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|