summaryrefslogtreecommitdiffstats
path: root/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl
blob: 9b7e555c5c3f1ec6f94a0e1eb3ac3b35956f8fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "site-settings.conf"
# If present, ostiaryd will shut down once the cache of bad IPs is full.
# Under runit, this just has the effect of generating a service restart
# log message.
EXIT_ON_IPCACHE_FULL

# If present, ostiaryd will not detach from the terminal it was started
# from. This is useful when running ostiaryd from programs like inetd or
# cygrunsrv or runit.
SKIP_DETACH

# Port to listen on. (Can be specified on command line.)
PORT=${OSTIARY_PORT}

# The password to remotely kill ostiaryd. Sort of useless when running under
# runit, since runit will just start ostiaryd back up. (But it is required
# to be in this file)
KILL="${OSTIARY_PASSWORD}-kill"

# Must be at least one action.  Format is:
# ACTION="secret","command (with path)",["uid"[,"gid"]]
# NOTE: There is a maximum of 31 actions
# IMPORTANT: Commands *CAN NOT* have any arguments -
#            on some platforms arguments are just ignored
ACTION="${OSTIARY_PASSWORD}-bcfg2-dvqn","/usr/local/sbin/ost-bcfg2-dvqn","0","0"
ACTION="${OSTIARY_PASSWORD}-bcfg2-dvn","/usr/local/sbin/ost-bcfg2-dvn","0","0"
ACTION="${OSTIARY_PASSWORD}-bcfg2-dvq","/usr/local/sbin/ost-bcfg2-dvq","0","0"
ACTION="${OSTIARY_PASSWORD}-bcfg2-dv","/usr/local/sbin/ost-bcfg2-dv","0","0"
ACTION="${OSTIARY_PASSWORD}-bcfg2-vq","/usr/local/sbin/ost-bcfg2-vq","0","0"
ACTION="${OSTIARY_PASSWORD}-bcfg2-v","/usr/local/sbin/ost-bcfg2-v","0","0"
ACTION="${OSTIARY_PASSWORD}-bcfg2-restart","/usr/local/sbin/ost-bcfg2-restart","0","0"