I have a small application written in Python using Flask. Right now I’m running it under nohup, but I’d like to daemonize it. What’s the proper way of doing this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are several ways to deploy a Flask project. Deploying with gunicorn might be the easiest, install gunicorn and then:
Although you probably want to use supervisor or something of that nature to monitor gunicorn (at the very least use
--pidso you can reload/stop gunicorn easily).