diff options
Diffstat (limited to 'app-eselect/eselect-php/files/php-fpm-launcher')
-rw-r--r-- | app-eselect/eselect-php/files/php-fpm-launcher | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-eselect/eselect-php/files/php-fpm-launcher b/app-eselect/eselect-php/files/php-fpm-launcher new file mode 100644 index 00000000..7a1c1c9f --- /dev/null +++ b/app-eselect/eselect-php/files/php-fpm-launcher @@ -0,0 +1,7 @@ +#!/bin/sh + +PHPSLOT="${1}" +[ -z "${PHPSLOT}" ] && PHPSLOT="$(eselect php show fpm)" +shift + +exec /usr/lib/${PHPSLOT}/bin/php-fpm "${@}" |