mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-28 21:17:36 +00:00
fix(services): add RuntimeDirectoryPreserve=yes to 96 secubox-* units
Hub + portal stayed `inactive (dead)` on real-hardware boot. The journal error was `Failed to set up mount namespacing: /run/systemd/ unit-root/run/secubox: No such file or directory` at the NAMESPACE step. Root cause: 96 services declare `RuntimeDirectory=secubox` without the matching `RuntimeDirectoryPreserve=yes`. When any of them stops (including any of the LXC-backed services that fail their health probe and Restart=on-failure for a few cycles), systemd removes /run/secubox on the way out. The next service with the same RuntimeDirectory= that tries to namespace its inputs hits the gap and falls into 226/NAMESPACE failure — Restart hammers a few times, then the unit goes failed-permanent. Earlier fmrelay + sentinelle units got the fix individually (v2.12.0/v2.12.3 era). Now applied to all 96 remaining units in a single sweep via: sed -i '/^RuntimeDirectory=secubox/a RuntimeDirectoryPreserve=yes' "$f" No version bumps in changelog — `dpkg -i --force-depends` in the live-USB slipstream picks up the new .deb regardless of version number.
This commit is contained in:
parent
1f51d1818d
commit
24000d67ea
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ Restart=on-failure
|
|||
RestartSec=5
|
||||
PrivateTmp=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox /etc/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /srv/droplet
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ StartLimitBurst=5
|
|||
# ProtectSystem=full
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
# ReadWritePaths removed - causes NAMESPACE errors when haproxy not installed
|
||||
# (haproxy is Recommends, not Depends - /etc/haproxy may not exist)
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /etc/sysctl.d /etc/modprobe.d
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
LogsDirectory=secubox
|
||||
LogsDirectoryMode=0755
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ Restart=on-failure
|
|||
RestartSec=5
|
||||
PrivateTmp=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /etc/nftables.d
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /etc/nftables.d
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ Restart=on-failure
|
|||
RestartSec=5
|
||||
PrivateTmp=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=false
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /sys/kernel/mm/ksm
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=false
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/lib/lxc
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ RestartSec=5
|
|||
PrivateTmp=true
|
||||
NoNewPrivileges=false
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/lib/lxc
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ Type=simple
|
|||
User=secubox
|
||||
Group=secubox
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
WorkingDirectory=/usr/lib/secubox/mesh
|
||||
ExecStart=/usr/bin/python3 -m uvicorn api.main:app --uds /run/secubox/mesh.sock --workers 1
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox /etc/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox /etc/secubox
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ ExecStart=/usr/bin/uvicorn api.main:app --uds /run/secubox/metoblizer.sock --wor
|
|||
Restart=on-failure
|
||||
RestartSec=5
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
StateDirectory=secubox/metoblizer
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox-mirror /etc/secubox /etc/nginx/secubox-mirror.d
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ RestartSec=5
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
# Allow access to serial ports and modem devices
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ RestartSec=5
|
|||
# Security
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
# Allow access to serial ports and modem devices
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /run/ndpid
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ Restart=on-failure
|
|||
RestartSec=5
|
||||
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=false
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /etc/sysctl.d /proc/sys
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ Type=simple
|
|||
User=secubox
|
||||
Group=secubox
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
ExecStart=/usr/bin/python3 -m uvicorn api.main:app --uds /run/secubox/p2p.sock --workers 1
|
||||
WorkingDirectory=/usr/lib/secubox/p2p
|
||||
Restart=on-failure
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox-repo /var/www/apt.secubox.in /tmp
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox /etc/secubox
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ Type=simple
|
|||
User=secubox
|
||||
Group=secubox
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
WorkingDirectory=/usr/lib/secubox/roadmap
|
||||
ExecStart=/usr/bin/python3 -m uvicorn api.main:app --uds /run/secubox/roadmap.sock --workers 1
|
||||
Restart=always
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/rtty /var/log/rtty /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/cache/secubox
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ Group=root
|
|||
WorkingDirectory=/usr/lib/secubox/simplex
|
||||
ExecStart=/usr/bin/python3 -m uvicorn api.main:app --uds /run/secubox/simplex.sock --log-level warning
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0755
|
||||
UMask=0117
|
||||
Restart=on-failure
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /etc/postfix /var/log/mail.log
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ ExecReload=/bin/kill -HUP $MAINPID
|
|||
Restart=on-failure
|
||||
RestartSec=5
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0755
|
||||
|
||||
# Security hardening
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ ExecReload=/bin/kill -HUP $MAINPID
|
|||
Restart=on-failure
|
||||
RestartSec=5
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0755
|
||||
|
||||
# Security hardening
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /srv/streamlit
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /srv/streamlit
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
LogsDirectory=secubox
|
||||
LogsDirectoryMode=0755
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ UMask=0000
|
|||
# ProtectSystem=full
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/suricata /var/log/secubox
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ RestartSec=5
|
|||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox /etc/secubox /srv/torrent
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/turnserver.conf /var/log/turnserver /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ RestartSec=5
|
|||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /var/cache/secubox /etc/secubox /srv/voip
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ RestartSec=5
|
|||
UMask=0000
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
LogsDirectory=secubox
|
||||
LogsDirectoryMode=0755
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ UMask=0000
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/secubox /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ RestartSec=5
|
|||
|
||||
NoNewPrivileges=true
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0775
|
||||
|
||||
ReadWritePaths=/run/secubox /var/lib/secubox /etc/wireguard /var/log/secubox
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ User=secubox
|
|||
Group=secubox
|
||||
WorkingDirectory=/usr/lib/secubox/zkp
|
||||
RuntimeDirectory=secubox
|
||||
RuntimeDirectoryPreserve=yes
|
||||
RuntimeDirectoryMode=0755
|
||||
ExecStart=/usr/bin/python3 -m uvicorn api.main:app --uds /run/secubox/zkp.sock
|
||||
Restart=always
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user