homekit/tools/ipcam_capture_restart_all.sh
2024-01-25 16:31:02 +03:00

5 lines
143 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