mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 08:47:07 +00:00
Import .profile into runner.sh.
So that it has access to the right environment when run by cron.
This commit is contained in:
@@ -6,6 +6,8 @@ BINDIR="$DOUGAL_ROOT/bin"
|
||||
VARDIR=${VARDIR:-$DOUGAL_ROOT/var}
|
||||
LOCKFILE=${LOCKFILE:-$VARDIR/runner.lock}
|
||||
|
||||
[ -f ~/.profile ] && . ~/.profile
|
||||
|
||||
function tstamp () {
|
||||
date -u +%Y-%m-%dT%H:%M:%SZ
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user