2026-06-21 19:51:43 +02:00
|
|
|
[Unit]
|
2026-09-16 17:08:17 +02:00
|
|
|
Description=VoiceCat encrypted voice server
|
|
|
|
|
Documentation=https://github.com/Talon/voice-cat/blob/main/docs/deployment.md
|
|
|
|
|
Wants=network-online.target
|
|
|
|
|
After=network-online.target
|
2026-06-21 19:51:43 +02:00
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
2026-09-16 17:08:17 +02:00
|
|
|
DynamicUser=yes
|
|
|
|
|
StateDirectory=voicecat
|
|
|
|
|
StateDirectoryMode=0700
|
|
|
|
|
ExecStart=/usr/local/lib/voicecat/VoiceCat.Server --data-dir /var/lib/voicecat
|
2026-06-21 19:51:43 +02:00
|
|
|
Restart=on-failure
|
|
|
|
|
RestartSec=5s
|
2026-09-16 17:08:17 +02:00
|
|
|
TimeoutStopSec=15s
|
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
|
PrivateDevices=yes
|
|
|
|
|
PrivateTmp=yes
|
2026-06-21 19:51:43 +02:00
|
|
|
ProtectSystem=strict
|
2026-09-16 17:08:17 +02:00
|
|
|
ProtectHome=yes
|
|
|
|
|
ProtectKernelTunables=yes
|
|
|
|
|
ProtectKernelModules=yes
|
|
|
|
|
ProtectKernelLogs=yes
|
|
|
|
|
ProtectControlGroups=yes
|
|
|
|
|
ProtectClock=yes
|
|
|
|
|
ProtectHostname=yes
|
|
|
|
|
ProtectProc=invisible
|
|
|
|
|
ProcSubset=pid
|
|
|
|
|
RestrictSUIDSGID=yes
|
|
|
|
|
RestrictRealtime=yes
|
|
|
|
|
LockPersonality=yes
|
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
|
SystemCallArchitectures=native
|
|
|
|
|
CapabilityBoundingSet=
|
|
|
|
|
AmbientCapabilities=
|
|
|
|
|
UMask=0077
|
2026-06-21 19:51:43 +02:00
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|