DocSpace-buildtools/install/deb/debian/config

35 lines
930 B
Bash

#!/bin/sh -e
set -e
. /usr/share/debconf/confmodule
db_input low {{product}}/environment || true
db_input low {{product}}/host || true
db_input low {{product}}/port || true
db_input low {{product}}/elasticsearch-sheme || true
db_input low {{product}}/elasticsearch-host || true
db_input low {{product}}/elasticsearch-port || true
db_input low {{product}}/redis-host || true
db_input low {{product}}/redis-port || true
db_input low {{product}}/rabbitmq-host || true
db_input low {{product}}/rabbitmq-user || true
db_input low {{product}}/rabbitmq-port || true
db_input low {{product}}/rabbitmq-password || true
db_input low {{product}}/ds-url || true
db_input low {{product}}/jwt-secret || true
db_input low {{product}}/jwt-header || true
db_input low {{product}}/db-host || true
db_input high {{product}}/db-name || true
db_input high {{product}}/db-user || true
db_go
db_input critical {{product}}/db-pwd || true
db_go