secubox-deb/daemon/systemd/c3box.service
CyberMind-FR 26a826f4a5 Fix systemd services for VM deployment
- secuboxd.service: Change Type from notify to simple, run as root
- c3box.service: Remove config file requirement, use command-line flags
- Add secuboxd-prod.yaml with production paths
- Add daemon/build/ to gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-25 08:09:20 +01:00

38 lines
847 B
Desktop File

# C3BOX Situational Awareness Dashboard
# CyberMind — SecuBox-Deb — 2026
[Unit]
Description=C3BOX Dashboard
Documentation=https://secubox.in/docs/c3box
After=secuboxd.service
Requires=secuboxd.service
[Service]
Type=simple
ExecStart=/usr/bin/c3box --listen :8180 --static /usr/share/c3box/www --secuboxd /run/secuboxd/topo.sock
Restart=on-failure
RestartSec=5
# Security hardening (CSPN compliant)
User=root
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
# Runtime directories
RuntimeDirectory=c3box
StateDirectory=c3box
[Install]
WantedBy=multi-user.target