How to run the paste server process as a daemon?
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 to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.
Re: How to run the paste server process as a daemon?
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 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 to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.
Re: How to run the paste server process as a daemon?
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 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.com wrote: 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 to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.
Re: How to run the paste server process as a daemon?
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. http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployment/nginx.html#step-4-managing-your-paster-processes-with-supervisord-optional If you just want to launch paster in daemon mode, do what Joe said and paster serve --daemon development.ini. -- Michael -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.
Re: How to run the paste server process as a daemon?
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 each time the code changes(b/c realistically it shouldn't). So I would recommend using each of those two flags separate of one another. On Mon, Oct 24, 2011 at 3:06 PM, ravi teja raviteja2...@gmail.com wrote: 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 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 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 to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.
Re: How to run the paste server process as a daemon?
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 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 each time the code changes(b/c realistically it shouldn't). So I would recommend using each of those two flags separate of one another. On Mon, Oct 24, 2011 at 3:06 PM, ravi teja raviteja2...@gmail.com wrote: 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.comwrote: 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 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 to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.