Add umask support

This commit is contained in:
David Coppit
2015-06-26 01:08:53 -04:00
parent 3888123dcd
commit dd981dc799
4 changed files with 23 additions and 8 deletions

View File

@@ -27,10 +27,12 @@ MIN_PERIOD=10:00
# that we've installed the plugin called "sagex-services - SageTV Remote API Services".
COMMAND="wget -nv -O /dev/null --auth-no-challenge http://sage:frey@192.168.1.102:8080/sagex/api?c=RunLibraryImportScan&1="
# Set the user and group ID that you want to run the command as. The user will be randomly generated. This is mostly so
# that files written by the command in any directory shared with the host will have the right IDs.
# Set the user and group ID that you want to run the command as, as well as the umask. The user will be randomly
# generated. This is mostly so that files written by the command in any directory shared with the host will have the
# right IDs.
USER_ID=0
GROUP_ID=0
UMASK=0
# This is a very good idea if your command modifies the WATCH_DIR in any way. You can easily trigger yourself because
# most programs don't worry about checking the current state before making a change. e.g. chmod will set the mode of a