source: OpenWorkouts-current/etc/zeo.conf @ 82a4c44

currentfeature/docs
Last change on this file since 82a4c44 was 5ec3a0b, checked in by borja <borja@…>, 5 years ago

Imported sources from the old python2-only repository:

  • Modified the code so it is python 3.6 compatible
  • Fixed deprecation warnings, pyramid 1.10.x supported now
  • Fixed deprecation warnings about some libraries, like pyramid-simpleform
  • Added pytest-pycodestyle and pytest-flakes for automatic checks on the source code files when running tests.
  • Added default pytest.ini setup to enforce some default parameters when running tests.
  • Cleaned up the code a bit, catched up with tests coverage.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2# OpenWorkouts ZEO configuration file
3#
4
5# Defines the base path for files referenced in this configuration file
6# The default value works when loading the configuration file from the
7# root directory of the OpenWorkouts repo. Adjust it as needed
8%define INSTANCE .
9
10<zeo>
11  # Use only one address value!
12  # Accept local (unix socket) connections only:
13  address $INSTANCE/var/zeo/zeo.sock
14  # Accept tcp/ip connections on localhost port 9999:
15  # address localhost:9999
16  # Accept tcp/ip connections on all addresses, port 9999:
17  # address 0.0.0.0:9999
18
19  # monitor address
20  #monitor-address $INSTANCE/var/zeo/zeo-monitor.sock 
21  monitor-address localhost:8104
22
23  # read only instance (true/false)
24  read-only false
25
26  # ???
27  invalidation-queue-size 100 
28
29  # path to the pid file
30  pid-filename $INSTANCE/var/zeo/zeo.pid
31</zeo>
32
33<eventlog>
34  level info
35  <logfile>
36    path $INSTANCE/var/zeo/zeo.log
37  </logfile>
38</eventlog>
39
40<blobstorage 1>
41  <filestorage>
42    # path to the ZODB storage file
43    path $INSTANCE/var/zeo/Data.fs
44  </filestorage>
45  # path to the directory to store binary objects/files
46  blob-dir $INSTANCE/var/zeo/blobs
47</blobstorage>
48
49<runner>
50  # sets the way to start this ZEO server instance when running zeoctl
51  # IMPORTANT: This contains hardcoded paths, that's why it it is so
52  # important to call zeo_start and zeo_stop from the proper place
53  #
54  # the path to runzeo should be correctly set by the virtualenv
55  program runzeo -C $INSTANCE/etc/zeo.conf
56
57  # client socket name (used by zeoctl to interact with the zeo instance)
58  socket-name $INSTANCE/var/zeo/zdsock
59
60  # Use this to force the ZEO server instance to be running as a given
61  # user.
62  # user openworkouts
63
64  # daemonize, fork into the background properly
65  daemon true
66
67  # ????
68  # default-to-interactive false
69
70  # Keep running no matter the error that could arise
71  forever true
72
73  # ????
74  backoff-limit 1000
75</runner>
Note: See TracBrowser for help on using the repository browser.