File: rsyslog-mysql.config

package info (click to toggle)
rsyslog 7.4.8-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 11,544 kB
  • sloc: ansic: 65,979; sh: 13,405; makefile: 1,513; lex: 339; perl: 162; yacc: 160; sql: 72
file content (18 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (15)
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