summaryrefslogtreecommitdiff
path: root/tools/ipcam_capture_restart_all.sh
blob: e4c1192d0b147897cd3d3d1264e4ba59e567b796 (plain)
1
2
3
4
#!/bin/sh
for service in $(systemctl list-units --type service --plain --no-legend | grep ipcam_capture | awk '{print $1}'); do
	systemctl restart $service
done