Files
Piik/deploy/systemd/screener.service.example
T
AAA de6f6aa466 fix(route): reserve deadline stages for fallback (#214)
Prevents silent peer candidates from starving selected/SFU fallback while preserving one room-serial operation and one total deadline.
2026-08-23 23:59:56 +08:00

40 lines
919 B
Plaintext

[Unit]
Description=Screener WebRTC signaling and web application
# Same-host LiveKit deployments also install the tracked readiness drop-in.
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=screener
Group=screener
WorkingDirectory=/opt/screener/current
EnvironmentFile=/etc/screener/screener.env
ExecStart=/usr/local/bin/node dist/server/server/index.js
Restart=on-failure
RestartSec=3s
TimeoutStopSec=20s
UMask=0077
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
ProtectClock=true
ProtectHostname=true
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
LockPersonality=true
CapabilityBoundingSet=
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target