From a36a0528390df2584f150c76c6870c09c8433095 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Mon, 16 Nov 2015 01:29:59 +0100 Subject: Add privileges configuration, (de)install and service handling fixes --- config/phpservice/phpservice.xml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/config/phpservice/phpservice.xml b/config/phpservice/phpservice.xml index 6bada596..f55dfe23 100644 --- a/config/phpservice/phpservice.xml +++ b/config/phpservice/phpservice.xml @@ -41,14 +41,12 @@ /* ====================================================================================== */ ]]> - PHP Service - PHP Service Settings - 0.5.0 - Settings + phpservice + 0.5.2 + PHPService /usr/local/pkg/phpservice.inc PHPService - PHP Service settings.
Services
phpservice.xml /packages/phpservice/phpservice_php.php @@ -59,7 +57,7 @@ phpservice PHP script as a service - exec("/bin/pgrep -fq phpservice"); + phpservice_custom_php_service_status_command(); installedpackages->package->$packagename->configuration->phpservice @@ -67,6 +65,10 @@ /usr/local/pkg/ https://packages.pfsense.org/packages/config/phpservice/phpservice.inc + + /etc/inc/priv/ + https://packages.pfsense.org/packages/config/phpservice/phpservice.priv.inc + /usr/local/www/packages/phpservice/ https://packages.pfsense.org/packages/config/phpservice/phpservice_php.php @@ -78,7 +80,7 @@ phpservice_sync_package(); - - phpservice_install_command(); - + + phpservice_deinstall_command(); + -- cgit v1.2.3