satyr/install/satyr.service
knotteye 8771411352 Add more detailed installation instructions
Add example systemd service
2019-10-20 16:30:23 -05:00

21 lines
355 B
Desktop File

[Unit]
Description=A livestreaming server.
After=network.target
[Service]
ExecReload=/bin/kill $MAINPID
KillMode=process
Restart=on-failure
User=satyr
Environment="HOME=/var/lib/satyr"
WorkingDirectory=/opt/satyr
ExecStart=/usr/bin/npm start
PrivateTmp=true
ProtectHome=true
ProtectSystem=full
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target