feat(hub): add central service foundation and transactional mail

This commit is contained in:
Loki 2026-10-24 14:15:48 +02:00
parent b14f036bdb
commit a811de590a
Signed by: boba
GPG key ID: 253067914055423B
25 changed files with 1521 additions and 4 deletions

View file

@ -0,0 +1,32 @@
[Unit]
Description=Vnox Central Hub
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=vnox-central
Group=vnox-central
WorkingDirectory=/var/lib/vnox-central
EnvironmentFile=/etc/vnox-central/hub.env
ExecStart=/opt/vnox-central/current/vnox-hub
Restart=on-failure
RestartSec=5
TimeoutStopSec=30
StateDirectory=vnox-central
StateDirectoryMode=0700
NoNewPrivileges=true
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/var/lib/vnox-central
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
UMask=0077
LimitNOFILE=8192
[Install]
WantedBy=multi-user.target