Commit ac58c9e6 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'feature/consistent-cron-env' into 'develop'

Source /etc/profile from cron.sh

See merge request !1640
parents d0220bb0 4e7b04c4
Pipeline #12468 passed with stage
in 10 seconds
......@@ -2,6 +2,8 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
. /etc/profile
if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
PHPINIOWNER=`stat -c %U /usr/local/ispconfig/server/lib/php.ini`
if [ $PHPINIOWNER == 'root' ] || [ $PHPINIOWNER == 'ispconfig' ]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment