mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-28 15:13:57 +00:00
9375056b61
This sets the stage for further changes to the startup process so that "async things" are done before we create the Client instance while still reporting early failures to the shell where "tahoe start" is running Also adds a bunch of test-coverage for the things that got moved around, even though they didn't have coverage before
11 lines
233 B
Python
11 lines
233 B
Python
from .tahoe_daemonize import daemonize, DaemonizeOptions
|
|
|
|
|
|
class RunOptions(DaemonizeOptions):
|
|
subcommand_name = "run"
|
|
|
|
|
|
def run(config):
|
|
config.twistd_args = config.twistd_args + ("--nodaemon",)
|
|
return daemonize(config)
|