Fix formatting
This commit is contained in:
32
README.md
32
README.md
@@ -36,22 +36,22 @@ After creating your conf files, restart the container and it will begin monitori
|
|||||||
Examples
|
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
|
WATCH_DIR=/dir2
|
||||||
SETTLE_DURATION=5
|
SETTLE_DURATION=5
|
||||||
MAX_WAIT_TIME=30
|
MAX_WAIT_TIME=30
|
||||||
MIN_PERIOD=30
|
MIN_PERIOD=30
|
||||||
COMMAND="/root/newperms /dir2"
|
COMMAND="/root/newperms /dir2"
|
||||||
# This is important because chmod/chown will change files in the monitored directory
|
# This is important because chmod/chown will change files in the monitored directory
|
||||||
IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=1
|
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
|
WATCH_DIR=/dir1
|
||||||
SETTLE_DURATION=5
|
SETTLE_DURATION=5
|
||||||
MAX_WAIT_TIME=05:00
|
MAX_WAIT_TIME=05:00
|
||||||
MIN_PERIOD=10: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="
|
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
|
# This is not important because the above is a "fire and forget" asynchronous operation
|
||||||
IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=0
|
IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=0
|
||||||
|
|||||||
Reference in New Issue
Block a user