DocSpace-buildtools/build/install/deb/debian/config
Evgeniy Antonyuk 23436472ed
Add new services and rebranding in packages\scripts (#786)
* Add new services, delete old services and kafka

* Corrections to appserver-configuration script

* Download the get-php script depending on the version of py

* Add doceditor and migration-runner services

* Docspace rebranding

* Rename a spec file

* Update build.sh

* Fixes in proxy package

* Rename script

* Fix launch of node js services

* Edit connection strings in migration-runner service

* Fix minor errors

* Update docspace-configuration.sh

* Update docspace-configuration.sh

* Add configuration of redis and rabbitmq services, as well as minor bug fixes

* Correct redis configuration

* Rebrand and add new services for deb package

* Fix build directory for deb package

* Revert "Fix build directory for deb package"

This reverts commit 9c711fc735c57e154e6b818988384d4b7e60c338.

* Add postinst for radicale package

* Fix python dependency

* Fix errors in control file

* Fix errors when building a deb package

* Update rules

* Rebranding of installation scripts

* Update build.spec

* Add migration for Docs Database

Co-authored-by: Alexey Golubev <alexey.golubev@onlyoffice.com>
2022-09-01 21:10:34 +03:00

29 lines
780 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 medium {{product}}/elasticsearch-sheme || true
db_input medium {{product}}/elasticsearch-host || true
db_input medium {{product}}/elasticsearch-port || true
db_input medium {{product}}/redis-host || true
db_input medium {{product}}/redis-port || true
db_input medium {{product}}/rabbitmq-host || true
db_input medium {{product}}/rabbitmq-user || true
db_input medium {{product}}/rabbitmq-password || true
db_input medium {{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