Include utils in logging command

So that functions can be called by logging app routines
This commit is contained in:
Bob Mottram 2017-08-07 13:42:05 +01:00
parent a59a84a0a3
commit fb811406e9
1 changed files with 8 additions and 0 deletions

View File

@ -40,6 +40,14 @@ WEBSERVER_LOG_LEVEL='warn'
# Also the shred command can be very slow on Beaglebone Black
REMOVE_FILES_COMMAND='rm -rf'
source /usr/local/bin/${PROJECT_NAME}-vars
UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
for f in $UTILS_FILES
do
source $f
done
APP_FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
for f in $APP_FILES
do