aboutsummaryrefslogtreecommitdiff
path: root/tools/ipcam_restart_rtsp2hls_rkmpp_3hr_cron.sh
blob: 6f2f4f3d723a68aa8240d6931337633d91a09b9e (plain)
1
2
3
4
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