File: nginx-naxsi-ui.config

package info (click to toggle)
nginx 1.2.1-2.2%2Bwheezy4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 36,644 kB
  • sloc: ansic: 126,205; python: 1,695; sh: 1,018; perl: 523; makefile: 283; php: 122; asm: 48; ruby: 31; cpp: 17
file content (23 lines) | stat: -rw-r--r-- 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# config script for nginx-naxsi-ui

set -e

. /usr/share/debconf/confmodule

db_version 2.0

# Set up database
. /usr/share/dbconfig-common/dpkg/config.mysql

dbc_dbname=naxsi_ui
dbc_dbuser=naxsi_ui

dbc_go nginx-naxsi-ui $@

## NAXSI-UI.CONF
db_input high nginx-naxsi-ui/dbhost || true

#DEBHELPER#

db_go || true