config is in zabbix-frontend-php 1:1.8.11-1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/bin/sh -e
. /usr/share/debconf/confmodule
db_version 2.0 || [ $? -lt 30 ]
if [ -f /usr/share/dbconfig-common/dpkg/frontend.config ]; then
dbc_first_version="1:1.4.2-3"
dbc_load_include="php:/etc/zabbix/dbconfig.php"
dbc_load_include_args="-tDB_TYPE -sDB_SERVER -dDB_DATABASE -uDB_USER -pDB_PASSWORD"
dbc_dbtypes="mysql, pgsql"
dbc_dbuser=zabbix
dbc_dbname=zabbix
. /usr/share/dbconfig-common/dpkg/frontend.config
dbc_go zabbix-frontend-php $@
fi
db_input medium zabbix-frontend-php/configure-apache || true
db_go || true
db_input medium zabbix-frontend-php/restart-webserver || true
db_go || true
db_input medium zabbix-frontend-php/zabbix-server || true
db_go || true
db_input medium zabbix-frontend-php/zabbix-server-port || true
db_go || true
exit 0
|