rtsp2hls rkmpp tools upd
This commit is contained in:
parent
2ebc4c68ce
commit
e505c57464
@ -8,7 +8,7 @@ RestartSec=3
|
|||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
EnvironmentFile=/etc/ipcam_rtsp2hls.conf.d/%i.conf
|
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 --force-tcp $ARGS
|
ExecStart=/home/user/homekit/tools/ipcam_rtsp2hls_rkmpp.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT --force-tcp $ARGS
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
5
tools/ipcam_restart_rtsp2hls_rkmpp_3hr_cron.sh
Normal file
5
tools/ipcam_restart_rtsp2hls_rkmpp_3hr_cron.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for service in $(systemctl list-units --type service | grep ipcam_rtsp2hls_rkmpp | awk '{print $1}' | grep -v \.slice\$); do
|
||||||
|
systemctl restart $service
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user