diff --git a/config.ini b/config.ini new file mode 100644 index 0000000..83258cc --- /dev/null +++ b/config.ini @@ -0,0 +1,32 @@ +[database] +url: sqlite:///var/lib/mandaye-cam/cam.db + +[dirs] +config_root: /etc/mandaye-cam/config.ini +data_dir: /var/lib/mandaye-cam/data +static_root: /usr/share/mandaye-cam/static +static_url: /static + +[debug] +debug: false +use_long_trace: true +log_debug: false +; you need to install python-raven for this feature +sentry_dsn: + +[mandaye] +; if you want to encypt password set to true +; you need to install pycrypto for this feature +encrypt_sp_password: false +; if encrypt_sp_password then you need to choose a secret +; must be a 16, 24, or 32 bytes long +encrypt_secret: + +[session] +; file, dbm, memory or memcached +; if memcached you need to install python-memcached and memcached +type: memcached +url: 127.0.0.1:11211 +cookie_expires: true +timeout: 3600 +data_dir: /var/lib/mandaye-cam/sessions