mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-28 21:17:36 +00:00
- 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>
38 lines
847 B
Desktop File
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
|