mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
[UI] [Daemon] Re-add --fork option
This commit is contained in:
parent
d32796eab0
commit
dea43da4d2
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
||||||
@ -42,6 +43,7 @@ class Web(UI):
|
|||||||
if not windows_check():
|
if not windows_check():
|
||||||
group.add_argument("-d", "--do-not-daemonize", dest="donotdaemonize", action="store_true", default=False,
|
group.add_argument("-d", "--do-not-daemonize", dest="donotdaemonize", action="store_true", default=False,
|
||||||
help="Do not daemonize the web interface")
|
help="Do not daemonize the web interface")
|
||||||
|
group.add_argument("-f", "--fork", dest="donotdaemonize", action="store_false", help=argparse.SUPPRESS)
|
||||||
group.add_argument("-P", "--pidfile", metavar="<pidfile>", action="store", default=None,
|
group.add_argument("-P", "--pidfile", metavar="<pidfile>", action="store", default=None,
|
||||||
help="Use pidfile to store process id")
|
help="Use pidfile to store process id")
|
||||||
if not windows_check():
|
if not windows_check():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user