mirror of
https://gitlab.sectorq.eu/jaydee/watcher.git
synced 2025-12-14 10:44:53 +01:00
Add new file
This commit is contained in:
3
watcher.sh
Normal file
3
watcher.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/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
|
||||||
Reference in New Issue
Block a user