Use the function goDaemon just before starting the server loop:
###Begin Module###
import os
import sys
# Default daemon parameters.
# File mode creation mask of the daemon.
UMASK = 0
# Default working directory for the daemon.
WORKDIR = "/"
# Default maximum for th
hi ..
hi i want a program to start running as daemon in background .. my
program is server listen to a client ... so i want to make that program run
as daemon .. when i execute the program the program for ex server.py it
should automatically start running as daemon in the background even if