tools: add ipcam_capture_restart_all.sh
This commit is contained in:
parent
b9de2f2ce5
commit
75b2517c50
4
tools/ipcam_capture_restart_all.sh
Executable file
4
tools/ipcam_capture_restart_all.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user