systemd: add rkmpp hls service unit
This commit is contained in:
parent
e26851a600
commit
ae2787b3ae
14
systemd/ipcam_rtsp2hls_rkmpp@.service
Normal file
14
systemd/ipcam_rtsp2hls_rkmpp@.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=convert rtsp to hls for viewing live camera feeds in browser
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
User=root
|
||||
Group=root
|
||||
EnvironmentFile=/etc/ipcam_rtsp2hls.conf.d/%i.conf
|
||||
ExecStart=/home/user/homekit/tools/ipcam_rtsp2hls_h264.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT $ARGS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user