summaryrefslogtreecommitdiff
path: root/debian/rsyslog-mysql.config
blob: 392bd4aa3fa82cf2685c70eae20afbe65012abb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# config maintainer script for rsyslog-mysql

set -e

# source debconf stuff
. /usr/share/debconf/confmodule

# source dbconfig-common shell library, and call the hook function
if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
   . /usr/share/dbconfig-common/dpkg/config.mysql

   dbc_dbname="Syslog"
   dbc_dbuser="rsyslog"

   dbc_go rsyslog-mysql $@
fi