aboutsummaryrefslogtreecommitdiffstats
path: root/config/phpservice/phpservice.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/phpservice/phpservice.xml')
-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>