mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
revert fork for now
This commit is contained in:
parent
20fe87868f
commit
8d7e762b0a
@ -33,17 +33,6 @@
|
||||
|
||||
class WebUI:
|
||||
def __init__(self, args):
|
||||
import os
|
||||
import sys
|
||||
import deluge_webserver
|
||||
if os.fork() == 0:
|
||||
os.setsid()
|
||||
if os.fork() == 0:
|
||||
sys.stderr = sys.stdout
|
||||
sys.stdin = None
|
||||
else:
|
||||
os._exit(0)
|
||||
else:
|
||||
os._exit(0)
|
||||
deluge_webserver.run(debug = False)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user