diff options
Diffstat (limited to 'web_wizard/Apache.pm')
-rwxr-xr-x | web_wizard/Apache.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm index 93504bc2..bae656cc 100755 --- a/web_wizard/Apache.pm +++ b/web_wizard/Apache.pm @@ -248,6 +248,12 @@ EOF sub do_it { $::testing and return; my $in = 'interactive'->vnew('su', 'Apache'); + if (!services::starts_on_boot('httpd')) { + my $start_httpd = $in->ask_yesorno(N("Start httpd server on boot"), N("Would you like to start the httpd service automatically on every boot ?"), 1); + if ($start_httpd) { + run_program::rooted($::prefix, '/sbin/chkconfig', '--level', '345', 'httpd', 'on'); + } + } my $w = $in->wait_message(N("Apache server"), N("Configuring your system as Apache server ...")); my $that = "localhost"; |