Skip to content

Commit

Permalink
Merge pull request #220 from engineyard/FB-10180
Browse files Browse the repository at this point in the history
[FBZ-100] Modified the PID being inserted to /data/<app>/shared/pids/passenger.<port>.pid
  • Loading branch information
rupikakapoor authored Mar 2, 2023
2 parents e1028e9 + b5d1a31 commit 84ee868
Showing 1 changed file with 2 additions and 2 deletions.
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 @@ -30,8 +30,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

0 comments on commit 84ee868

Please sign in to comment.