diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-11 19:45:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-11 19:45:09 +0000 |
commit | 4fd3d5ec157a85499e60928f74bba2dcfa66e0e7 (patch) | |
tree | 19f1833a49522c7e5542595e0e3e3cbbad849fe0 | |
parent | 61d7dbac4e7844e161d734329ea0a1d718439189 (diff) | |
download | pfsense-4fd3d5ec157a85499e60928f74bba2dcfa66e0e7.zip pfsense-4fd3d5ec157a85499e60928f74bba2dcfa66e0e7.tar.gz |
Be sure to pass start to scripts when starting from the service manager
-rwxr-xr-x | usr/local/www/status_services.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index efa759f..b8cdfcb 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -74,7 +74,7 @@ if($_GET['service'] <> "") if($_GET['restartservice'] == "true") { mwexec("/sbin/killall $executable_name"); - mwexec("/bin/sh /usr/local/etc/rc.d/{$raw_name}.sh"); + mwexec("/bin/sh /usr/local/etc/rc.d/{$raw_name}.sh start"); $status = is_service_running($executable_name); if($status == 1) { $savemsg = "{$package_name} has been restarted."; @@ -90,7 +90,7 @@ if($_GET['stopservice'] == "true") { } if($_GET['startservice'] == "true") { - mwexec("/bin/sh /usr/local/etc/rc.d/{$raw_name}.sh"); + mwexec("/bin/sh /usr/local/etc/rc.d/{$raw_name}.sh start"); if($status == 1) { $savemsg = "{$package_name} has been started."; } else { |