summaryrefslogtreecommitdiff
path: root/src/sync/sync.conf
blob: 9425c2215a627790adbdec806569db0eec4cca9f (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
# This file is in the public domain.

# These are default/sample settings for a merchant backend.


# General settings for the backend.
[sync]

# Use TCP or UNIX domain sockets?
SERVE = tcp

# Which HTTP port does the backend listen on?  Only used if "SERVE" is 'tcp'.
PORT = 9966

# Which IP address should we bind to? i.e. 127.0.0.1 or ::1 for loopback.
# Can also be given as a hostname.  We will bind to the wildcard (dual-stack)
# if left empty.  Only used if "SERVE" is 'tcp'.
# BIND_TO =


# Which unix domain path should we bind to? Only used if "SERVE" is 'unix'.
UNIXPATH = ${sync_RUNTIME_DIR}/backend.http
# What should be the file access permissions (see chmod) for "UNIXPATH"?
UNIXPATH_MODE = 660

# Which database backend do we use?
DB = postgres

# Configuration for postgres database.
[syncdb-postgres]
CONFIG = postgres:///sync