mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-09-06 13:29:38 +00:00
Add more detailed installation instructions
Add example systemd service
This commit is contained in:
21
install/satyr.service
Normal file
21
install/satyr.service
Normal 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
|
Reference in New Issue
Block a user