| 1 |
[Unit] |
| 2 |
Description=Nextcloud Talk signaling server |
| •3 |
Documentation=file:/usr/share/doc/nextcloud-spreed-signaling/README.md.gz |
| 4 |
|
| •5 |
[Service] |
| 6 |
ExecStart=/usr/bin/nextcloud-spreed-signaling-server --config /etc/nextcloud-spreed-signaling/server.conf |
| •7 |
ExecReload=/bin/kill -HUP $MAINPID |
| 8 |
User=_signaling |
| 9 |
Group=_signaling |
| 10 |
Restart=on-failure |
| 11 |
|
| 12 |
# Makes sure that /etc/signaling is owned by this service |
| •13 |
ConfigurationDirectory=nextcloud-spreed-signaling |
| 14 |
|
| 15 |
# Hardening - see systemd.exec(5) |
| 16 |
CapabilityBoundingSet= |
| •17 |
ExecPaths=/usr/bin/nextcloud-spreed-signaling-server /usr/lib |
| 18 |
LockPersonality=yes |
| 19 |
MemoryDenyWriteExecute=yes |
| 20 |
NoExecPaths=/ |
| 21 |
NoNewPrivileges=yes |
| 22 |
PrivateDevices=yes |
| 23 |
PrivateTmp=yes |
| 24 |
PrivateUsers=yes |
| 25 |
ProcSubset=pid |
| 26 |
ProtectClock=yes |
| 27 |
ProtectControlGroups=yes |
| 28 |
ProtectHome=yes |
| 29 |
ProtectHostname=yes |
| 30 |
ProtectKernelLogs=yes |
| 31 |
ProtectKernelModules=yes |
| 32 |
ProtectKernelTunables=yes |
| 33 |
ProtectProc=invisible |
| 34 |
ProtectSystem=strict |
| 35 |
RemoveIPC=yes |
| 36 |
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX |
| 37 |
RestrictNamespaces=yes |
| 38 |
RestrictRealtime=yes |
| 39 |
RestrictSUIDSGID=yes |
| 40 |
SystemCallArchitectures=native |
| 41 |
SystemCallFilter=@system-service |
| 42 |
SystemCallFilter=~ @privileged |
| 43 |
|
| 44 |
[Install] |
| 45 |
WantedBy=multi-user.target |