odyssey/odissey.conf

71 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-06-21 12:23:11 +00:00
# odissey configuration file.
2016-11-07 13:25:12 +00:00
#
2017-06-21 12:23:11 +00:00
# daemonize no
# syslog no
# syslog_facility "daemon"
# syslog_ident "odissey"
# pid_file "./odissey.pid"
# log_file "./odissey.log"
2017-06-21 13:04:00 +00:00
log_config yes
2017-06-21 13:31:51 +00:00
log_debug yes
log_statistics 3
2017-06-21 13:04:00 +00:00
readahead 8192
pipelining 16384
client_max 100
workers 3
2017-06-21 12:23:11 +00:00
listen {
host "*"
port 6432
nodelay yes
# backlog 16
# keepalive 7200
2017-06-24 13:04:20 +00:00
tls "disable"
2017-06-21 12:23:11 +00:00
# tls_cert_file ""
# tls_key_file ""
# tls_ca_file ""
# tls_protocols ""
}
storage "local" {
type "local"
}
storage "pg_server" {
type "remote"
2017-06-21 12:23:11 +00:00
host "127.0.0.1"
port 5432
2017-06-24 13:04:20 +00:00
tls "disable"
2017-06-21 12:23:11 +00:00
# tls_ca_file ""
# tls_key_file ""
# tls_cert_file ""
# tls_protocols ""
}
route "console" {
storage "local"
}
2017-06-21 13:18:42 +00:00
route default {
storage "pg_server"
cancel yes
discard yes
rollback yes
pool_mode "transaction"
pool_size 100
pool_timeout 4000
2017-06-21 13:08:33 +00:00
pool_ttl 5
# user "user"
# password "test"
# database "database"
# client_max 100
2017-06-21 13:18:42 +00:00
}
user default {
# none, clear_text, md5
authentication "none"
#password "test"
#deny
}