0
votes
0
comments
4,221
views

Maintaining Logging and/or stdout/stderr in Python Daemon

0 votes, 0.00 avg. rating (0% score)
Every recipe that I’ve found for creating a daemon process in Python involves forking twice (for Unix) and then closing all open file descriptors. (See http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/ for an example). This is all simple enough but I seem to have an issue. On the production machine that I am setting up, my daemon is aborting – […]