mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
* Setup: fixed not working install on openSUSE 12.2/3, because last line of output from "service (mysql|apache2) status" is empty
This commit is contained in:
parent
550760065b
commit
71cc964b11
@ -241,7 +241,8 @@ if (!file_exists($config['header']) || filesize($config['header']) < 200) // def
|
||||
// check for localhost if database server is started and start it (permanent) if not
|
||||
if ($config['db_host'] == 'localhost' && $config['start_db'])
|
||||
{
|
||||
if (exec($config['start_db'].' status',$dummy,$ret) && $ret)
|
||||
exec($config['start_db'].' status',$dummy,$ret);
|
||||
if ($ret)
|
||||
{
|
||||
system($config['start_db'].' start');
|
||||
system($config['autostart_db']);
|
||||
@ -325,7 +326,8 @@ if (!file_exists($config['header']) || filesize($config['header']) < 200) // def
|
||||
// check if webserver is started and start it (permanent) if not
|
||||
if ($config['start_webserver'])
|
||||
{
|
||||
if (exec($config['start_webserver'].' status',$dummy,$ret) && $ret)
|
||||
exec($config['start_webserver'].' status',$dummy,$ret);
|
||||
if ($ret)
|
||||
{
|
||||
system($config['start_webserver'].' start');
|
||||
system($config['autostart_webserver']);
|
||||
|
Loading…
Reference in New Issue
Block a user