summaryrefslogtreecommitdiffstats
path: root/installsrv_wizard/Installsrv.pm
diff options
context:
space:
mode:
Diffstat (limited to 'installsrv_wizard/Installsrv.pm')
-rw-r--r--installsrv_wizard/Installsrv.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/installsrv_wizard/Installsrv.pm b/installsrv_wizard/Installsrv.pm
index ed3f2bc7..51612dd7 100644
--- a/installsrv_wizard/Installsrv.pm
+++ b/installsrv_wizard/Installsrv.pm
@@ -108,7 +108,7 @@ sub add_install_dir {
print " - " . $NFSEXPORTS . " ready\n";
} else {
append_to_file($NFSEXPORTS, "$INSTALLDIR *(async,rw,no_root_squash)\n");
- system("service nfs reload");
+ check_started($_) foreach qw(nfs nfsd);
}
}
@@ -128,7 +128,7 @@ sub add_http_link {
if (! -f $LINK) {
symlink $PATH, $LINK;
}
- system("service httpd restart");
+ check_started("httpd")
}
sub cp_data {