2025-09-03 22:12:58 +02:00
|
|
|
[Unit]
|
2025-09-07 18:40:32 +02:00
|
|
|
Description=furt Multi-Tenant API Gateway (Security-Hardened)
|
2025-09-03 22:12:58 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
2025-09-05 17:02:31 +02:00
|
|
|
Type=forking
|
2025-09-03 22:12:58 +02:00
|
|
|
User=furt
|
|
|
|
|
Group=furt
|
2025-09-05 22:30:07 +02:00
|
|
|
ExecStart=/usr/local/share/furt/scripts/start.sh
|
2025-09-07 16:57:35 +02:00
|
|
|
PIDFile=/var/run/furt/furt.pid
|
2025-09-03 22:12:58 +02:00
|
|
|
WorkingDirectory=/usr/local/share/furt
|
|
|
|
|
Restart=always
|
|
|
|
|
RestartSec=5
|
|
|
|
|
StandardOutput=journal
|
|
|
|
|
StandardError=journal
|
|
|
|
|
|
2025-09-07 18:40:32 +02:00
|
|
|
# === SECURITY HARDENING ===
|
|
|
|
|
|
|
|
|
|
# Filesystem Protection
|
|
|
|
|
ProtectSystem=strict
|
|
|
|
|
ReadWritePaths=/var/run/furt /var/log/furt
|
|
|
|
|
ProtectHome=yes
|
|
|
|
|
|
|
|
|
|
# Process Hardening
|
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
|
PrivateTmp=yes
|
|
|
|
|
|
|
|
|
|
# Network Restriction
|
|
|
|
|
RestrictAddressFamilies=AF_INET
|
|
|
|
|
|
2025-09-03 22:12:58 +02:00
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|