You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
# If there are no arguments, then "shift" will fail (bug 626496).
|
|
if [ $# -eq 0 ]; then
|
|
PHP_SLOT=$(eselect php show fpm)
|
|
else
|
|
PHP_SLOT=$1
|
|
shift
|
|
fi
|
|
|
|
exec "/usr/@libdir@/${PHP_SLOT}/bin/php-fpm" "${@}"
|