summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-11 19:45:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-11 19:45:09 +0000
commit4fd3d5ec157a85499e60928f74bba2dcfa66e0e7 (patch)
tree19f1833a49522c7e5542595e0e3e3cbbad849fe0 /usr/local/www
parent61d7dbac4e7844e161d734329ea0a1d718439189 (diff)
downloadpfsense-4fd3d5ec157a85499e60928f74bba2dcfa66e0e7.zip
pfsense-4fd3d5ec157a85499e60928f74bba2dcfa66e0e7.tar.gz
Be sure to pass start to scripts when starting from the service manager
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/status_services.php4
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 {
OpenPOWER on IntegriCloud