Skip to content

Instantly share code, notes, and snippets.

@zealws
Created December 2, 2015 00:55
Show Gist options
  • Save zealws/1a6c16acb596c29bf944 to your computer and use it in GitHub Desktop.
Save zealws/1a6c16acb596c29bf944 to your computer and use it in GitHub Desktop.
$ bin/atcd --help
usage: atcd [<flags>]
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--iptables=IPTABLES location of the iptables binary
--ip6tables=IP6TABLES location of the ip6tables binary
--wan=WAN name of the WAN interface
--lan=LAN name of the LAN interface
-b, --listen=127.0.0.1:9090 Bind address for the thrift server
-D, --dbdrv="sqlite3" Database driver
-Q, --dbconn="atcd.db" Database connection string
-c, --config="/etc/atc/atcd.conf"
location of the json config file
--insecure insecure mode. disable user security checks
-F, --fake-shaping don't do real shaping. instead use a mock shaper
--token-timeout=60 OTP Token timeout in seconds
$ bin/atc_api --help
usage: atc_api [<flags>]
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-b, --listen=0.0.0.0:8080 Bind address for the HTTP server
-t, --atcd=127.0.0.1:9090 ATCD thrift server address
-p, --atcd-proto="json" ATCD thrift server protocol
-D, --dbdrv="sqlite3" Database driver
-Q, --dbconn="atc_api.db" Database connection string
-4, --ipv4=IPV4 IPv4 address (or hostname) of the ATC API
-6, --ipv6=IPV6 IPv6 address (or hostname) of the ATC API
-Q, --warn Only warn if the thrift server isn't reachable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment