File: rsyslog-mysql.config

package info (click to toggle)
rsyslog 8.16.0-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 11,608 kB
  • sloc: ansic: 82,208; sh: 15,230; makefile: 1,869; lex: 366; yacc: 176; perl: 162; sql: 72
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