tools: add ipcam_capture_restart_all.sh

This commit is contained in:
Evgeny Sorokin 2024-01-25 16:31:02 +03:00
parent b9de2f2ce5
commit 75b2517c50

View File

@ -0,0 +1,4 @@
#!/bin/sh
for service in $(systemctl list-units --type service | grep ipcam_capture | awk '{print $1}'); do \
systemctl restart $service
done