homekit/tools/ipcam_restart_rtsp2hls_rkmpp_3hr_cron.sh
Evgeny Sorokin b9de2f2ce5 chmod +x
2024-01-22 03:17:36 +03:00

6 lines
170 B
Bash
Executable File

#!/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