aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuyan Ozipek <tozipek@datavalet.com>2015-02-02 11:05:40 -0500
committerTuyan Ozipek <tozipek@datavalet.com>2015-02-02 11:05:40 -0500
commit6230fca2ed7b9a0b183a3544ce7d57f3dfa62574 (patch)
tree08493e0adb8cc99e9ab2ecc39e31a6615a8e4559
parentebbf8ee49e40075452334832a1463e4effe1b65b (diff)
downloadpfsense-packages-6230fca2ed7b9a0b183a3544ce7d57f3dfa62574.tar.gz
pfsense-packages-6230fca2ed7b9a0b183a3544ce7d57f3dfa62574.tar.bz2
pfsense-packages-6230fca2ed7b9a0b183a3544ce7d57f3dfa62574.zip
Fixed phpservice status not being able to extract status from ps.
-rw-r--r--config/phpservice/phpservice.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/phpservice/phpservice.xml b/config/phpservice/phpservice.xml
index 44999496..eb7e670e 100644
--- a/config/phpservice/phpservice.xml
+++ b/config/phpservice/phpservice.xml
@@ -56,6 +56,9 @@
<rcfile>phpservice.sh</rcfile>
<executable>phpservice</executable>
<description>PHP run from a command line as a service.</description>
+ <custom_php_service_status_command>
+ exec("/bin/pgrep -f phpservice");
+ </custom_php_service_status_command>
</service>
<tabs>
<tab>
@@ -118,4 +121,4 @@
<custom_php_deinstall_command>
phpservice_deinstall_command();
</custom_php_deinstall_command>
-</packagegui> \ No newline at end of file
+</packagegui>