Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified the PID being inserted to /data/<app>/shared/pids/passenger.<port>.pid #477

Open
wants to merge 1 commit into
base: next-release
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cookbooks/passenger5/templates/default/app_control.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ case "$1" in
if [ -n $NGINX_PID ]; then
if [ ! -z $PASSENGER_PID ]; then
if [ ! -f $PIDFILE ]; then
echo $PASSENGER_PID > $PIDFILE
echo "Passenger: PIDFILE $PIDFILE was recreated with PID $PASSENGER_PID"
echo $NGINX_PID > $PIDFILE
echo "Passenger: PIDFILE $PIDFILE was recreated with PID $NGINX_PID"
fi
else
echo "Passenger: Nginx is running with PID $NGINX_PID, but the standalone Passenger process is missing."
Expand Down