diff --git a/README.md b/README.md index 54b79c3..72e8de9 100644 --- a/README.md +++ b/README.md @@ -36,22 +36,22 @@ After creating your conf files, restart the container and it will begin monitori Examples -------- -### Run a permissions-repairing utility whenever there's a change in the directory +Run a permissions-repairing utility whenever there's a change in the directory: - WATCH_DIR=/dir2 - SETTLE_DURATION=5 - MAX_WAIT_TIME=30 - MIN_PERIOD=30 - COMMAND="/root/newperms /dir2" - # This is important because chmod/chown will change files in the monitored directory - IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=1 + WATCH_DIR=/dir2 + SETTLE_DURATION=5 + MAX_WAIT_TIME=30 + MIN_PERIOD=30 + COMMAND="/root/newperms /dir2" + # This is important because chmod/chown will change files in the monitored directory + IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=1 -### Tell SageTV to rescan its imported media when the media directory changes +Tell SageTV to rescan its imported media when the media directory changes: - WATCH_DIR=/dir1 - SETTLE_DURATION=5 - MAX_WAIT_TIME=05:00 - MIN_PERIOD=10:00 - COMMAND="wget -nv -O /dev/null --auth-no-challenge http://sage:frey@192.168.1.102:8080/sagex/api?c=RunLibraryImportScan&1=" - # This is not important because the above is a "fire and forget" asynchronous operation - IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=0 + WATCH_DIR=/dir1 + SETTLE_DURATION=5 + MAX_WAIT_TIME=05:00 + MIN_PERIOD=10:00 + COMMAND="wget -nv -O /dev/null --auth-no-challenge http://sage:frey@192.168.1.102:8080/sagex/api?c=RunLibraryImportScan&1=" + # This is not important because the above is a "fire and forget" asynchronous operation + IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=0