I'm using my webspace to show a preview of my websites to my customers. Because I'm also hosting some websites, if I create some small dummy apps they still keep me up to 50MB (!!!) of RAM, and having a 256 limit, this is really bad. Because I really don't use this websites often, but just to show a new feature to the customer, I would like to keep the configuration (basically my app directory) but I want also to shut down those apps avoiding a useless memory usage. While I know I can simply run "restart" to resurrect the application, "stop" commands it's not working. Any suggestion appreciated Update I would like to make this through a capistrano task. Basically I run this command remotely:
But "stop" doesn't seem to actually stop my app. asked 23 Jan '13, 15:50 FireDragonDoL |
If you comment out the cron job that restarts the app, then stop the app, it will not restart automatically. Hope that helps! answered 23 Jan '13, 15:59 seanf Sorry, I haven't been very precise in my question: I would like to be able to terminate my app through capistrano, so my idea was to run
(23 Jan '13, 16:08)
FireDragonDoL
Looks like I'm wrong, it works sorry for bothering you.
(23 Jan '13, 16:11)
FireDragonDoL
|
Just run "stop" executable in your "webapps/app/bin" directory answered 23 Jan '13, 16:12 FireDragonDoL |