Skip to content

Commit ac58c9e

Browse files
author
Till Brehm
committed
Merge branch 'feature/consistent-cron-env' into 'develop'
Source /etc/profile from cron.sh See merge request ispconfig/ispconfig3!1640
2 parents d0220bb + 4e7b04c commit ac58c9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/cron.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
44

5+
. /etc/profile
6+
57
if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
68
PHPINIOWNER=`stat -c %U /usr/local/ispconfig/server/lib/php.ini`
79
if [ $PHPINIOWNER == 'root' ] || [ $PHPINIOWNER == 'ispconfig' ]; then

0 commit comments

Comments
 (0)