hotel icon indicating copy to clipboard operation
hotel copied to clipboard

Allow to reload application

Open JanStevens opened this issue 9 years ago • 2 comments

In rails it happens that you need to restart your complete server, coming from pow I could do it "easily" by touching a file tmp/restart.txt in my application folder.

It would be handy if hotel included a reload button to easily stop / start a service again and an additional CLI command hotel reload for example

JanStevens avatar Aug 02 '16 07:08 JanStevens

I think Rails (or at least Rails 5) is handling it (mtime of tmp/restart.txt)! So it should be working here. Try it.

layerssss avatar Aug 31 '16 01:08 layerssss

This works using puma and plugin :tmp_restart. You have to be careful though not to use rails s but bundle exec puma -p $YOUR_PORT --pid=tmp/pids/app.pid if you want to start different rails app-configurations out of a single folder.

bastianwegge avatar Jan 22 '18 11:01 bastianwegge