File: rsyslog-mysql.config

package info (click to toggle)
rsyslog 8.2302.0-1~bpo11%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye-backports
  • size: 17,904 kB
  • sloc: ansic: 112,474; sh: 36,403; makefile: 4,284; lex: 560; python: 535; yacc: 191; perl: 162; sql: 103; tcl: 9; ruby: 2
file content (18 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (16)
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