summaryrefslogtreecommitdiffstats
path: root/debian/netdata.config
blob: eb2796f47476b1b041ea56b95011a340ac72602e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e

CONFFILE="/etc/netdata/health_alarm_notify.conf"

. /usr/share/debconf/confmodule

if [ -e "${CONFFILE}" ]; then
	# contains bashisms
	. ${CONFFILE} || true

	db_set netdata/send_email "${SEND_EMAIL}"
fi

db_settitle netdata/title
db_input low netdata/send_email || true
db_go

db_stop