How to run the paste server process as a daemon?

2011-10-24 Thread Raviteja Dodda
Hi, How to run the paste server process as a daemon? -Ravi -- You received this message because you are subscribed to the Google Groups pylons-devel group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-devel/-/Zb3qdkNEwygJ. To post to this group, send email

Re: How to run the paste server process as a daemon?

2011-10-24 Thread Joe Dallago
paste serve development.ini --daemon. You can also see its other options by typing paster serve development.ini --help. On Mon, Oct 24, 2011 at 3:02 PM, Raviteja Dodda raviteja2...@gmail.comwrote: Hi, How to run the paste server process as a daemon? -Ravi -- You received this message

Re: How to run the paste server process as a daemon?

2011-10-24 Thread ravi teja
I used to do like this: paster serve development.ini --reload I wanted to know if there is another way On 25-Oct-2011, at 1:34 AM, Joe Dallago wrote: paster* serve On Mon, Oct 24, 2011 at 3:04 PM, Joe Dallago jd.dall...@gmail.com wrote: paste serve development.ini --daemon. You can

Re: How to run the paste server process as a daemon?

2011-10-24 Thread Michael Merickel
If you're using paster in production, it's usually smart to launch it via supervisor so that it can restart the app if it crashes and generally provide a better way to monitor the process. An example of doing this is in the cookbook.

Re: How to run the paste server process as a daemon?

2011-10-24 Thread Joe Dallago
Yah, the correct way to do that is 'paster serve development.ini --reload --daemon'. If your developing, you probably don't want to run it as a daemon, as you won't be able to see the output of the server, and if you are running it in production, you probably wouldn't want the server to reload

Re: How to run the paste server process as a daemon?

2011-10-24 Thread Joe Dallago
Yah supervisor is a better option for production. On Mon, Oct 24, 2011 at 3:21 PM, Joe Dallago jd.dall...@gmail.com wrote: Yah, the correct way to do that is 'paster serve development.ini --reload --daemon'. If your developing, you probably don't want to run it as a daemon, as you won't be