Skip to content

Commit 4e7b04c

Browse files
author
Webslice
committed
Source /etc/profile from cron.sh
1 parent f0ace5f commit 4e7b04c

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)