Added systemd service
This commit is contained in:
parent
08a9782874
commit
5c356bc9e0
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=MovieNight RTSP server
|
||||
Requires=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User=movienight
|
||||
ExecStart=/opt/MovieNight/MovieNight
|
||||
|
||||
ProtectHome=true
|
||||
ProtectSystem=full
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue