diff options
author | Nicolas Vigier <nvigier@mandriva.com> | 2008-03-28 15:03:57 +0000 |
---|---|---|
committer | Nicolas Vigier <nvigier@mandriva.com> | 2008-03-28 15:03:57 +0000 |
commit | 13e4059aeeed3359da1f66b2fd291d0ce9b71199 (patch) | |
tree | 317596552a5e758908511503752b5684bfc38f0b /web_wizard/Apache.pm | |
parent | c73f809c62190261677cc92e63213f9046acf66b (diff) | |
download | drakwizard-13e4059aeeed3359da1f66b2fd291d0ce9b71199.tar drakwizard-13e4059aeeed3359da1f66b2fd291d0ce9b71199.tar.gz drakwizard-13e4059aeeed3359da1f66b2fd291d0ce9b71199.tar.bz2 drakwizard-13e4059aeeed3359da1f66b2fd291d0ce9b71199.tar.xz drakwizard-13e4059aeeed3359da1f66b2fd291d0ce9b71199.zip |
use services::start_service_on_boot
Diffstat (limited to 'web_wizard/Apache.pm')
-rwxr-xr-x | web_wizard/Apache.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm index 20077852..30a2e772 100755 --- a/web_wizard/Apache.pm +++ b/web_wizard/Apache.pm @@ -251,7 +251,7 @@ sub do_it { if (!services::starts_on_boot('httpd')) { my $start_httpd = $in->ask_yesorno(N("Start %s server on boot", "httpd"), N("Would you like to start the %s service automatically on every boot?", "httpd"), 1); if ($start_httpd) { - run_program::rooted($::prefix, '/sbin/chkconfig', '--level', '345', 'httpd', 'on'); + services::start_service_on_boot('httpd'); } } my $w = $in->wait_message(N("Apache server"), N("Configuring your system as Apache server ...")); |