Remove Daemonize option

This commit is contained in:
Patrick Linstruth
2018-12-11 17:12:49 -08:00
parent 4d5081156e
commit 306d5354be
2 changed files with 0 additions and 25 deletions

View File

@@ -101,25 +101,6 @@ else:
eprint('You must specify a configuration file')
sys.exit(1)
#
# Daemonize
#
try:
daemon=config.get(section,'Daemonize')
except:
daemon='0'
if isTrue(daemon):
try:
pid=os.fork()
except:
eprint('Could not fork')
sys.exit(1)
if (pid==0):
os.setsid()
else:
exit(0)
#
# Create Send Socket