[UI] [Daemon] Re-add --fork option

This commit is contained in:
bendikro 2016-04-24 21:50:58 +02:00 committed by Calum Lind
parent d32796eab0
commit dea43da4d2
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
from __future__ import print_function
import argparse
import logging
import os
@ -42,6 +43,7 @@ class Web(UI):
if not windows_check():
group.add_argument("-d", "--do-not-daemonize", dest="donotdaemonize", action="store_true", default=False,
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,
help="Use pidfile to store process id")
if not windows_check():