Add more detailed installation instructions

Add example systemd service
This commit is contained in:
knotteye
2019-10-20 16:30:23 -05:00
parent 7ca1e9023c
commit 8771411352
4 changed files with 59 additions and 1 deletions

21
install/satyr.service Normal file
View File

@ -0,0 +1,21 @@
[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