From f91da286bb0edbabf22df53ea88c6b7e8ccc8b41 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sun, 16 Aug 2015 01:14:56 +0200 Subject: phpservice - rewrite garbage package Another quality stuff from the same guy... :-( --- config/phpservice/phpservice.xml | 127 ++++++++++++++------------------------- 1 file changed, 45 insertions(+), 82 deletions(-) (limited to 'config') diff --git a/config/phpservice/phpservice.xml b/config/phpservice/phpservice.xml index eb7e670e..e437be20 100644 --- a/config/phpservice/phpservice.xml +++ b/config/phpservice/phpservice.xml @@ -1,47 +1,49 @@ - - + + - - + - - PHP Service - Describe your package requirements here - Currently there are no FAQ items provided. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +*/ +/* ====================================================================================== */ + ]]> + + PHP Service PHP Service Settings - 0.4.1 + 0.5.0 Settings /usr/local/pkg/phpservice.inc @@ -55,66 +57,27 @@ phpservice phpservice.sh phpservice - PHP run from a command line as a service. + PHP script as a service - exec("/bin/pgrep -f phpservice"); + exec("/bin/pgrep -fq phpservice"); - - - Settings - /pkg_edit.php?xml=phpservice.xml&id=0 - - - - Settings - /packages/phpservice_php.php - - - - installedpackages->package->$packagename->configuration->phpservice + installedpackages->package->$packagename->configuration->phpservice /usr/local/pkg/ - 0755 - https://packages.pfsense.org/packages/config/phpservice/phpservice.xml - - - /usr/local/pkg/ - 0755 https://packages.pfsense.org/packages/config/phpservice/phpservice.inc - /tmp/ - 0755 - https://packages.pfsense.org/packages/config/phpservice/phpservice_php.tmp + /usr/local/www/packages/phpservice/ + https://packages.pfsense.org/packages/config/phpservice/phpservice_php.php - /tmp/ - 0755 - https://packages.pfsense.org/packages/config/phpservice/phpservice_php_edit.tmp - - - - Variable One - var1 - Enter the variable one here. - input - - - Variable Two - var1 - Enter the variable one here. - input - - - - + /usr/local/www/packages/phpservice/ + https://packages.pfsense.org/packages/config/phpservice/phpservice_php_edit.php + phpservice_sync_package(); - - phpservice_sync_package(); - phpservice_install_command(); -- cgit v1.2.3