Skip to content
Snippets Groups Projects
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 ispconfig/ispconfig3!1640
parents d0220bb0 4e7b04c4
No related branches found
No related tags found
1 merge request!1640Source /etc/profile from cron.sh
Pipeline #12468 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment