From: Jean-Marc Pigeon (Delson) Date: Wed, 18 Jun 2025 13:04:24 +0000 (-0400) Subject: Loading variable within starting.sh X-Git-Tag: tag-0.9~106 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=7b4c8e19b73e596c639976434e91bb8b3912c3f4;p=jmp%2Fmailleur Loading variable within starting.sh --- diff --git a/support/starting.sh b/support/starting.sh index 84c534a..9de26be 100644 --- a/support/starting.sh +++ b/support/starting.sh @@ -46,6 +46,12 @@ if [ -z "$DB_TYPE" -o "$DB_TYPE" = "DB_TO_BE_DEFINED" ] ; then #=============================================================== #main script +#---------------------------------------------------------------------- +#loading all applications variables +[ -f /etc/$APPNAME/$APPNAME.conf ] && . /etc/$APPNAME/$APPNAME.conf +#overiding some variable by local setting +[ -f /etc/sysconfig/$APPNAME ] && . /etc/sysconfig/$APPNAME + chk_config $1; exit 0; #---------------------------------------------------------------