homekit/tools/ipcam_restart_rtsp2hls_rkmpp_3hr_cron.sh
2024-01-22 03:15:24 +03:00

6 lines
170 B
Bash

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