mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
Remove Daemonize option
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user