mirror of
https://gitlab.sectorq.eu/jaydee/watcher.git
synced 2025-12-14 18:54:54 +01:00
3 lines
227 B
Bash
3 lines
227 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 |