diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ipcam_capture_restart_all.sh | 2 |
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 |