Answer the question
In order to leave comments, you need to log in
How to organize the restart of the rails stack when the physical server is rebooted?
There are projects in production, managed through capistrano. Accordingly, capistrano does its dirty work, like creating folders for releases, managing PID files, etc.
Is there an easy way to mimic the capistrano command on server reboot to bring up all the necessary stack, and not bother with init.d scripts? Plus, it seems like init.d is executed as root, with all the consequences
Answer the question
In order to leave comments, you need to log in
It will not be possible to refuse from init.d/init.
You can take a look at https://github.com/adamcooke/procman.
And one init.d script to start everything. And adjust capistrano accordingly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question