Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I start something like uWSGI via SSH with my normal login user (assuming I should), and "daemonize" it, does that mean I can log out of SSH and uWSGI will remain running?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Since a daemon is a program that is a background process (that is, a process that doesn't involve any interaction on your part in doing what it does), and persists until the process is killed (lets say via an init script you wrote for this very thing), then yes. If you daemonize uWGSI, it will run until you kill the process spawned by the daemon.

You might want to consider looking into writing some init scripts to handle this process for you, rather than daemonizing a program manually.

share|improve this answer
    
Thanks, qweet. That gives me some direction. –  orokusaki Mar 3 '12 at 19:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.