Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
03e1700a
Commit
03e1700a
authored
Jun 07, 2012
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FS#1814 - Add option for custom php.ini for execution of ispconfig server.php script
parent
26c0fc98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
server/cron_daily.sh
server/cron_daily.sh
+7
-0
server/server.sh
server/server.sh
+7
-0
No files found.
server/cron_daily.sh
View file @
03e1700a
...
...
@@ -2,4 +2,11 @@
PATH
=
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
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
export
PHPRC
=
/usr/local/ispconfig/server/lib
fi
fi
/usr/bin/php
-q
/usr/local/ispconfig/server/cron_daily.php
server/server.sh
View file @
03e1700a
...
...
@@ -4,5 +4,12 @@ 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
export
PHPRC
=
/usr/local/ispconfig/server/lib
fi
fi
cd
/usr/local/ispconfig/server
/usr/bin/php
-q
/usr/local/ispconfig/server/server.php
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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