mirror of
https://gitlab.sectorq.eu/jaydee/watcher.git
synced 2025-12-14 18:54:54 +01:00
6 lines
230 B
Bash
6 lines
230 B
Bash
#!/bin/bash
|
|
inotifywait -r -m -e CLOSE_WRITE /share/docker_data/regsync/regsync.yml | while read file_path file_event file_name
|
|
do
|
|
echo ${file_path}${file_name} event: ${file_event}
|
|
docker restart regsync-regsync-1
|
|
done |