fix php-fcgi starter script for nginx/php, thx to Witalij from Aixit GmbH
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -11,13 +11,13 @@ RETVAL="0"
|
||||
|
||||
start() {
|
||||
echo -n "Starting PHP FastCGI: "
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- "$PHP_CGI_ARGS"
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- $PHP_CGI_ARGS
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping PHP FastCGI: "
|
||||
killall -q -w -u "${USER} ${PHP_CGI}"
|
||||
killall -q -w -u ${USER} ${PHP_CGI}
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@ RETVAL="0"
|
||||
|
||||
start() {
|
||||
echo -n "Starting PHP FastCGI: "
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- "$PHP_CGI_ARGS"
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- $PHP_CGI_ARGS
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping PHP FastCGI: "
|
||||
killall -q -w -u "${USER} ${PHP_CGI}"
|
||||
killall -q -w -u ${USER} ${PHP_CGI}
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@ RETVAL="0"
|
||||
|
||||
start() {
|
||||
echo -n "Starting PHP FastCGI: "
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- "$PHP_CGI_ARGS"
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- $PHP_CGI_ARGS
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping PHP FastCGI: "
|
||||
killall -q -w -u "${USER} ${PHP_CGI}"
|
||||
killall -q -w -u ${USER} ${PHP_CGI}
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@ RETVAL="0"
|
||||
|
||||
start() {
|
||||
echo -n "Starting PHP FastCGI: "
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- "$PHP_CGI_ARGS"
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- $PHP_CGI_ARGS
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping PHP FastCGI: "
|
||||
killall -q -w -u "${USER} ${PHP_CGI}"
|
||||
killall -q -w -u ${USER} ${PHP_CGI}
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@ RETVAL="0"
|
||||
|
||||
start() {
|
||||
echo -n "Starting PHP FastCGI: "
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- "$PHP_CGI_ARGS"
|
||||
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- $PHP_CGI_ARGS
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping PHP FastCGI: "
|
||||
killall -q -w -u "${USER} ${PHP_CGI}"
|
||||
killall -q -w -u ${USER} ${PHP_CGI}
|
||||
RETVAL="$?"
|
||||
echo "${PHP_CGI_NAME}."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user