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