summaryrefslogtreecommitdiff
path: root/tools/ipcam_capture_restart_all.sh
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-15 14:02:46 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-15 14:02:46 +0300
commit9ee4fc4fde61e70d6969619279e3d87e1832c490 (patch)
tree991d028adb6523826d5961f7d2e895132160d24b /tools/ipcam_capture_restart_all.sh
parent4af565b27d829f40b36c0079be5d0dfaa1e6f233 (diff)
fix tools/ipcam_capture_restart_all.sh
Diffstat (limited to 'tools/ipcam_capture_restart_all.sh')
-rwxr-xr-xtools/ipcam_capture_restart_all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ipcam_capture_restart_all.sh b/tools/ipcam_capture_restart_all.sh
index 3eefbec..e4c1192 100755
--- a/tools/ipcam_capture_restart_all.sh
+++ b/tools/ipcam_capture_restart_all.sh
@@ -1,4 +1,4 @@
#!/bin/sh
-for service in $(systemctl list-units --type service | grep ipcam_capture | awk '{print $1}'); do
+for service in $(systemctl list-units --type service --plain --no-legend | grep ipcam_capture | awk '{print $1}'); do
systemctl restart $service
done