2019-10-08 04:59:13 +00:00
|
|
|
|
|
|
|
storage "postgres_server" {
|
|
|
|
type "remote"
|
2020-07-26 07:58:15 +00:00
|
|
|
|
|
|
|
host "localhost"
|
2019-10-08 04:59:13 +00:00
|
|
|
port 5432
|
|
|
|
}
|
|
|
|
|
|
|
|
database default {
|
|
|
|
user default {
|
|
|
|
authentication "none"
|
|
|
|
|
|
|
|
storage "postgres_server"
|
|
|
|
# storage_db "db"
|
|
|
|
# storage_user "user"
|
|
|
|
# storage_password "password"
|
|
|
|
|
|
|
|
pool "session"
|
|
|
|
|
|
|
|
client_fwd_error yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
unix_socket_dir "/tmp"
|
|
|
|
unix_socket_mode "0644"
|
|
|
|
|
|
|
|
log_format "%p %t %l [%i %s] (%c) %m\n"
|
2020-07-26 07:58:15 +00:00
|
|
|
log_debug no
|
2019-10-08 04:59:13 +00:00
|
|
|
log_config yes
|
2020-07-26 07:58:15 +00:00
|
|
|
log_session no
|
|
|
|
log_query no
|
2019-10-08 04:59:13 +00:00
|
|
|
log_stats yes
|
2020-07-26 07:58:15 +00:00
|
|
|
daemonize yes
|
|
|
|
|
|
|
|
locks_dir "/tmp/odyssey"
|
|
|
|
graceful_die_on_errors yes
|
|
|
|
enable_online_restart yes
|
|
|
|
bindwith_reuseport yes
|
2019-10-08 04:59:13 +00:00
|
|
|
|
|
|
|
stats_interval 60
|
|
|
|
|
2020-07-26 07:58:15 +00:00
|
|
|
pid_file "/var/run/odyssey.pid"
|
|
|
|
|
2019-10-08 04:59:13 +00:00
|
|
|
listen {
|
|
|
|
host "*"
|
|
|
|
port 6432
|
|
|
|
}
|
2020-07-26 07:58:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
storage "local" {
|
|
|
|
type "local"
|
|
|
|
}
|
|
|
|
|
|
|
|
database "console" {
|
|
|
|
user default {
|
|
|
|
authentication "none"
|
|
|
|
pool "session"
|
|
|
|
storage "local"
|
|
|
|
}
|
|
|
|
}
|