This file is indexed.

postinst is in icinga-idoutils 1.10.3-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
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst
#dbc_debug='1'
dbc_generate_include='template:/etc/icinga/ido2db.cfg'
dbc_generate_include_owner='nagios:nagios'
dbc_generate_include_args='--ucf -o template_infile=/usr/share/icinga/tmpl/ido2db.cfg-sample'
dbc_go icinga-idoutils $@

if [ -x "/etc/init.d/ido2db" ]; then
	update-rc.d ido2db defaults 35 20 >/dev/null
	invoke-rc.d ido2db start 3>&- || exit $?
fi