mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-31 01:12:48 -05:00
Make cert-dir not required for development usage
This commit is contained in:
@@ -29,7 +29,7 @@ async function main() {
|
|||||||
)
|
)
|
||||||
.option('webserver', {
|
.option('webserver', {
|
||||||
describe: 'Enable control webserver and specify the URL',
|
describe: 'Enable control webserver and specify the URL',
|
||||||
implies: ['cert-dir', 'email', 'username', 'password'],
|
implies: ['username', 'password'],
|
||||||
})
|
})
|
||||||
.option('hostname', {
|
.option('hostname', {
|
||||||
describe: 'Override hostname the control server listens on',
|
describe: 'Override hostname the control server listens on',
|
||||||
@@ -40,6 +40,7 @@ async function main() {
|
|||||||
})
|
})
|
||||||
.option('cert-dir', {
|
.option('cert-dir', {
|
||||||
describe: 'Private directory to store SSL certificate in',
|
describe: 'Private directory to store SSL certificate in',
|
||||||
|
implies: ['email'],
|
||||||
})
|
})
|
||||||
.option('cert-production', {
|
.option('cert-production', {
|
||||||
describe: 'Obtain a real SSL certificate using production servers',
|
describe: 'Obtain a real SSL certificate using production servers',
|
||||||
|
|||||||
Reference in New Issue
Block a user