summaryrefslogtreecommitdiffstats
path: root/debian/rsyslog-mysql.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rsyslog-mysql.config')
-rw-r--r--debian/rsyslog-mysql.config18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/rsyslog-mysql.config b/debian/rsyslog-mysql.config
new file mode 100644
index 0000000..392bd4a
--- /dev/null
+++ b/debian/rsyslog-mysql.config
@@ -0,0 +1,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
+