Run ErpNext as Background Process

How to run "/lib/wnf.py" as background process? 

Because when i write "/lib/wnf.py" , server successfully started and application is running fine. But when i exit the ssh, application stops working.

Please suggesgt any solution.


Specificaitons:

Centos (6.4 Final) VPS.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/549de518-cfbc-46c6-9ce4-1512435d335b%40googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.

On Tue, Feb 25, 2014 at 11:25 AM, Faisal Nadeem fa...@gmail.com wrote:

How to run “/lib/wnf.py” as background process?

Because when i write “/lib/wnf.py” , server successfully started and
application is running fine. But when i exit the ssh, application stops
working.

Please suggesgt any solution.

If you want to do that, you might want to do all the production
deployment setup,

You could also start the development server in a screen
(GNU Screen - Wikipedia) (not recommended for
production use) or you could just run gunicorn in daemon mode (but
will have to do the process management youself, ie send HUP to restart
and TERM to stop).

Specificaitons:

Centos (6.4 Final) VPS.


Note:

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much
    information as you can. Please see it from the point of view of the person
    receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do
    not send images as attachments. Links are good. Same goes for any file you
    are going to send.

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/549de518-cfbc-46c6-9ce4-1512435d335b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Pratik
erpnext

Dear i can run in deamon mode now.
But let me explain my problem:

I have VPS with one dedicated IP and i want to map sub domain to my ErpNext. And i can achieve it when my application is running under apache. Because when i create subdomain from my Plesk Control Panel, it accepts only document root path.

So please guide me to run my ErpNext under apache as i was running old ErpNext version.


On Tuesday, February 25, 2014 8:55:06 AM UTC+3, Faisal Nadeem wrote:

How to run "/lib/wnf.py" as background process? 

Because when i write "/lib/wnf.py" , server successfully started and application is running fine. But when i exit the ssh, application stops working.

Please suggesgt any solution.


Specificaitons:

Centos (6.4 Final) VPS.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/8b141f91-3518-4d3d-a491-dc017ac5993f%40googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.