Embed STUN and SFU in the shared Go process, reuse native encoding pipelines with independent adaptation, and complete Client lifecycle, settings, diagnostics and packaging fixes. Retain standard Browser senders after measured encoded-reuse limitations.
44 lines
967 B
Plaintext
44 lines
967 B
Plaintext
[Unit]
|
|
Description=Screener web, signaling, STUN and SFU application
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=screener
|
|
Group=screener
|
|
WorkingDirectory=/opt/screener/current
|
|
Environment=SCREENER_ENV=production
|
|
EnvironmentFile=/etc/screener/screener.env
|
|
ExecStart=/opt/screener/current/screener-server
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
TimeoutStopSec=20s
|
|
UMask=0077
|
|
StateDirectory=screener
|
|
StateDirectoryMode=0700
|
|
LogsDirectory=screener
|
|
LogsDirectoryMode=0700
|
|
|
|
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
|