[tahoe-lafs-trac-stream] [tahoe-lafs] #1546: pass arbitrary options to twistd through the "tahoe" command-line
tahoe-lafs
trac at tahoe-lafs.org
Wed Aug 7 13:00:05 UTC 2013
#1546: pass arbitrary options to twistd through the "tahoe" command-line
------------------------------+--------------------------------------------
Reporter: zooko | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: eventually
Component: code- | Version: 1.9.0a2
frontend-cli | Keywords: cli twisted tahoe-start twistd
Resolution: |
Launchpad Bug: |
------------------------------+--------------------------------------------
Old description:
> comment:4:ticket:1267 Brian suggested:
>
> What if we accepted a syntax like "{{{tahoe start DIR -- ARG1 ARG2}}}"
> or "{{{tahoe start -- ARG1 ARG2}}}", and passed all the extra ARG1/ARG2
> strings into {{{twistd.run()}}}? I'd really like if it we had a way to
> pass arbitrary twistd arguments, rather than having to hand-code support
> for each one.
New description:
comment:4:ticket:1267 Brian suggested:
What if we accepted a syntax like "{{{tahoe start DIR -- ARG1 ARG2}}}"
or "{{{tahoe start -- ARG1 ARG2}}}", and passed all the extra ARG1/ARG2
strings into {{{twistd.run()}}}? I'd really like if it we had a way to
pass arbitrary twistd arguments, rather than having to hand-code support
for each one.
--
Comment (by meskio):
I'm having a look to this idea so I don't implement by hand the --pidfile
for the ticket #2045. What I'm not sure is how to make it consistent with
tahoe stop. I think tahoe stop should have a --pidfile option, but I'm not
sure how. Maybe something like:
{{{
$ tahoe start . -- --pidfile /run/tahoe.pid
$ tahoe stop . --pidfile /run/tahoe.pid
}}}
To add '--' to the stop command I think will be confusing, because there
is no call after it to twistd to pass the params. But to have it different
syntax between start and stop don't looks good.
Any ideas?
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1546#comment:4>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list