diff options
Diffstat (limited to 'web_wizard/Apache.pm')
-rwxr-xr-x | web_wizard/Apache.pm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm index 12d4687f..8fea5014 100755 --- a/web_wizard/Apache.pm +++ b/web_wizard/Apache.pm @@ -272,11 +272,7 @@ sub do_it { chg_docroot(); chg_user_dir(); - if (services::is_service_running('httpd')) { - services::restart('httpd'); - } else { - services::start('httpd'); - } + services::restart_or_start('httpd'); undef $w; check_started($o->{var}{servicecheck}); } |