From fd401f7dd657a6f46243e1f8e3796e45e497704d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 13 Oct 2015 14:52:31 -0300 Subject: Do not depend of php-fpm to be running to process Additional Packages install/deinstall scripts, instead call php cli direct --- tools/templates/pkg-deinstall.in | 2 +- tools/templates/pkg-install.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/templates') diff --git a/tools/templates/pkg-deinstall.in b/tools/templates/pkg-deinstall.in index 0ea6111..83d1c3d 100644 --- a/tools/templates/pkg-deinstall.in +++ b/tools/templates/pkg-deinstall.in @@ -1,3 +1,3 @@ #!/bin/sh -/usr/local/sbin/fcgicli -f /etc/rc.packages -d "pkg=%%PORTNAME%%&when=${2}" +/usr/local/bin/php -f /etc/rc.packages %%PORTNAME%% ${2} diff --git a/tools/templates/pkg-install.in b/tools/templates/pkg-install.in index d9217e6..25b1886 100644 --- a/tools/templates/pkg-install.in +++ b/tools/templates/pkg-install.in @@ -4,4 +4,4 @@ if [ "${2}" != "POST-INSTALL" ]; then exit 0 fi -/usr/local/sbin/fcgicli -f /etc/rc.packages -d "pkg=%%PORTNAME%%&when=${2}" +/usr/local/bin/php -f /etc/rc.packages %%PORTNAME%% ${2} -- cgit v1.1