genvid-services-local

Installation of supervisor services as background processes.

usage: genvid-services-local [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
                             {version,env,reinstall,start,stop,status,restart,install,uninstall}
                             ...

Positional Arguments

command Possible choices: version, env, reinstall, start, stop, status, restart, install, uninstall

Named Arguments

--loglevel

Possible choices: DEBUG, INFO, WARNING, ERROR

Set the script log level

Sub-commands:

version

Print current versions

genvid-services-local version [-h]

env

Print used environment variables.

genvid-services-local env [-h]

reinstall

Reinstall the services.

genvid-services-local reinstall [-h] [-n NAME] [-m {dev,client,server}]
                                [-d DATACENTER] [-r REGION] [-b BIND] [-w WAN]
                                [-c NODE_CLASS] [-s SERVERS]
                                [--bootstrap BOOTSTRAP] [--replace-dns]
                                [--ec2-tag EC2_TAG] [--ec2-value EC2_VALUE]
                                [--vault-enabled]
                                [{consul,vault,nomad,} [{consul,vault,nomad,} ...]]

Positional Arguments

services

Possible choices: consul, vault, nomad, []

The service to update between consul, vault, nomad or nothing for all.

Named Arguments

-n, --name Name of the service. Default is hostname.
-m, --mode

Possible choices: dev, client, server

Running mode (“dev”).

Default: “dev”

-d, --datacenter
 

Datacenter (“dc1”).

Default: “dc1”

-r, --region

Region for nomad (“global”).

Default: “global”

-b, --bind IP to bind.
-w, --wan WAN address (None).
-c, --class Class for Nomad clients.
-s, --servers List of servers to join by default.
--bootstrap

Number of bootstrap servers 1.

Default: 1

--replace-dns

Use as the default DNS (False).

Default: False

--ec2-tag EC2 Tag to check for servers.
--ec2-value EC2 Value to check for servers.
--vault-enabled
 

Enable Vault in Nomad.

Default: False

start

Start an installed service.

genvid-services-local start [-h]
                            [{consul,vault,nomad,} [{consul,vault,nomad,} ...]]

Positional Arguments

services

Possible choices: consul, vault, nomad, []

The service to update between consul, vault, nomad or nothing for all.

stop

Stop a service.

genvid-services-local stop [-h]
                           [{consul,vault,nomad,} [{consul,vault,nomad,} ...]]

Positional Arguments

services

Possible choices: consul, vault, nomad, []

The service to update between consul, vault, nomad or nothing for all.

status

Check the status of the service.

genvid-services-local status [-h]
                             [{consul,vault,nomad,} [{consul,vault,nomad,} ...]]

Positional Arguments

services

Possible choices: consul, vault, nomad, []

The service to update between consul, vault, nomad or nothing for all.

restart

Restart a service.

genvid-services-local restart [-h]
                              [{consul,vault,nomad,} [{consul,vault,nomad,} ...]]

Positional Arguments

services

Possible choices: consul, vault, nomad, []

The service to update between consul, vault, nomad or nothing for all.

install

Install the service.

genvid-services-local install [-h] [-n NAME] [-m {dev,client,server}]
                              [-d DATACENTER] [-r REGION] [-b BIND] [-w WAN]
                              [-c NODE_CLASS] [-s SERVERS]
                              [--bootstrap BOOTSTRAP] [--replace-dns]
                              [--ec2-tag EC2_TAG] [--ec2-value EC2_VALUE]
                              [--vault-enabled]
                              [{consul,vault,nomad,} [{consul,vault,nomad,} ...]]

Positional Arguments

services

Possible choices: consul, vault, nomad, []

The service to update between consul, vault, nomad or nothing for all.

Named Arguments

-n, --name Name of the service. Default is hostname.
-m, --mode

Possible choices: dev, client, server

Running mode (“dev”).

Default: “dev”

-d, --datacenter
 

Datacenter (“dc1”).

Default: “dc1”

-r, --region

Region for nomad (“global”).

Default: “global”

-b, --bind IP to bind.
-w, --wan WAN address (None).
-c, --class Class for Nomad clients.
-s, --servers List of servers to join by default.
--bootstrap

Number of bootstrap servers 1.

Default: 1

--replace-dns

Use as the default DNS (False).

Default: False

--ec2-tag EC2 Tag to check for servers.
--ec2-value EC2 Value to check for servers.
--vault-enabled
 

Enable Vault in Nomad.

Default: False

uninstall

Uninstall the service.

genvid-services-local uninstall [-h]
                                [{consul,vault,nomad,} [{consul,vault,nomad,} ...]]

Positional Arguments

services

Possible choices: consul, vault, nomad, []

The service to update between consul, vault, nomad or nothing for all.