Files
piik/deploy/systemd/screener.service.example
T
AAA f3dc212211 chore: add minimal staging deployment (#6)
* chore(deploy): add minimal production deployment

* fix(deploy): fail closed and reload renewed certs

* docs(status): record staging deployment

* docs(status): record public TURN verification
2026-08-18 20:24:53 +08:00

39 lines
843 B
Plaintext

[Unit]
Description=Screener WebRTC signaling and web application
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