added explict PATH export so script can access docker-compose in crontab
This commit is contained in:
parent
062ef420ec
commit
292dc3c1b8
@ -438,6 +438,9 @@ echo -e "${info}${stamp} -- [INFO] using ${lit}${dockerComposeFilePath}" \
|
|||||||
### Import additional variables from mailcow configuration file
|
### Import additional variables from mailcow configuration file
|
||||||
source "${mailcowConfigFilePath}"
|
source "${mailcowConfigFilePath}"
|
||||||
|
|
||||||
|
### Export PATH so this script can access all docker and docker-compose commands
|
||||||
|
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
|
||||||
### Export logFile variable for use by Borg
|
### Export logFile variable for use by Borg
|
||||||
export logFile="$logFile"
|
export logFile="$logFile"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user