You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
334 B
20 lines
334 B
[Unit]
|
|
Description=satyr livestreaming server
|
|
After=network.target
|
|
|
|
[Service]
|
|
KillMode=control-group
|
|
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 |