homekit/tools/ipcam_capture_restart_all.sh
Evgeny Sorokin 4af565b27d fix
2024-01-25 16:35:00 +03:00

5 lines
141 B
Bash
Executable File

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