Create a Python Daemon - Programming On Unix

Users browsing this thread: 1 Guest(s)
A daemon is a program that runs in the background independently of any shells, terminal.

There's many way to create daemons but I'll show you the way I use.

Here is the script:
[Python daemon Script](

usage python2 args
make sure that the script doesn't ask for user inputs but for system argv

This should fork the script and make it work as a daemon.

See ya!
Long time nixers
Thanks! This is really useful!