Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
ac58c9e6
Commit
ac58c9e6
authored
Oct 23, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/cron.sh
View file @
ac58c9e6
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment