File: rsyslog-mysql.config

package info (click to toggle)
rsyslog 8.4.2-1%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 10,400 kB
  • ctags: 9,620
  • sloc: ansic: 73,420; sh: 13,841; makefile: 1,530; lex: 353; perl: 162; yacc: 161; 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