aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-09 08:25:20 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-09 08:25:20 -0300
commit240ac02decc6886bb7a7f0edc5a087263fc2fbca (patch)
treec22e9019351078bb658f8b96b85226356dd690d6
parent0c431a1f88fa15a7134cbb9504c0ee758e9b334a (diff)
parent6230fca2ed7b9a0b183a3544ce7d57f3dfa62574 (diff)
downloadpfsense-packages-240ac02decc6886bb7a7f0edc5a087263fc2fbca.tar.gz
pfsense-packages-240ac02decc6886bb7a7f0edc5a087263fc2fbca.tar.bz2
pfsense-packages-240ac02decc6886bb7a7f0edc5a087263fc2fbca.zip
Merge pull request #803 from tuyan/master
-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>