Skip to content

Commit

Permalink
Fix pesky 'A server is already running' error when restarting docker …
Browse files Browse the repository at this point in the history
…container (#81)
  • Loading branch information
wampiedriessen authored Jul 3, 2020
1 parent 7bf1bbc commit ff347f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ fi

rake db:migrate

# Remove a potentially pre-existing server.pid for Rails.
rm -f /app/tmp/pids/server.pid

exec rails server -b 0.0.0.0 -p 3000

0 comments on commit ff347f8

Please sign in to comment.