summaryrefslogtreecommitdiffstats
path: root/debian/rsyslog-pgsql.config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:21 +0000
commit24b1e14e26b1bc6cf98663c2964a3637c56944eb (patch)
tree5dfbc4d09ae789919613f5e20d0dcac87e6ece90 /debian/rsyslog-pgsql.config
parentAdding upstream version 8.2402.0. (diff)
downloadrsyslog-24b1e14e26b1bc6cf98663c2964a3637c56944eb.tar.xz
rsyslog-24b1e14e26b1bc6cf98663c2964a3637c56944eb.zip
Adding debian version 8.2402.0-1.debian/8.2402.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rsyslog-pgsql.config')
-rw-r--r--debian/rsyslog-pgsql.config18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/rsyslog-pgsql.config b/debian/rsyslog-pgsql.config
new file mode 100644
index 0000000..0daa3d4
--- /dev/null
+++ b/debian/rsyslog-pgsql.config
@@ -0,0 +1,18 @@
+#!/bin/sh
+# config maintainer script for rsyslog-pgsql
+
+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.pgsql ]; then
+ . /usr/share/dbconfig-common/dpkg/config.pgsql
+
+ dbc_dbname="Syslog"
+ dbc_dbuser="rsyslog"
+
+ dbc_go rsyslog-pgsql $@
+fi
+