mirror of
https://github.com/hanzozt/zt.git
synced 2026-11-02 11:38:22 +00:00
31 lines
954 B
Bash
31 lines
954 B
Bash
# utilized by bootstrap.bash to distinguish between systemd and docker
|
|
ZITI_RUNTIME='systemd'
|
|
|
|
# set "false" to disable bootstrapping
|
|
ZITI_BOOTSTRAP=''
|
|
|
|
# create a new PKI unless it exists
|
|
ZITI_BOOTSTRAP_PKI='true'
|
|
|
|
# create a config file unless it exists if 'true'; 'force' to re-create
|
|
# WARNING: changing the controller address will break most things
|
|
ZITI_BOOTSTRAP_CONFIG='true'
|
|
|
|
# create a new database unless it exists
|
|
ZITI_BOOTSTRAP_DATABASE='true'
|
|
|
|
# configure the web console if 'true'
|
|
ZITI_BOOTSTRAP_CONSOLE='true'
|
|
|
|
# configure controller to serve static HTML provided by openziti-console package
|
|
ZITI_CONSOLE_LOCATION='/opt/openziti/share/console'
|
|
|
|
# BASH script that defines function bootstrap()
|
|
ZITI_CTRL_BOOTSTRAP_BASH='/opt/openziti/etc/controller/bootstrap.bash'
|
|
|
|
# renew server and client certificates every startup
|
|
ZITI_AUTO_RENEW_CERTS='true'
|
|
|
|
# additional arguments to the ExecStart command must be a non-empty string
|
|
ZITI_ARGS='--'
|