diff options
author | Sebastian Deiss <sebastian.deiss@atos.net> | 2017-08-30 15:36:04 +0200 |
---|---|---|
committer | Sebastian Deiss <sebastian.deiss@atos.net> | 2017-08-30 15:36:04 +0200 |
commit | e81e6fdbf4051e0d44e08d9fc9d9aa48fe36c90f (patch) | |
tree | 893e27407030554d2b40d6743679ef1f9ca83796 /peekaboo.conf.sample | |
parent | 87153c14e0458e2162be4e5a3ac798f0707db943 (diff) |
Add a configuration option whether or not to use Peekaboo's debug module
Previously, the Peekaboo debug module was used if the log level was set
to DEBUG in the configuration. Now there is a separate option whether or not
to use the debug module.
Diffstat (limited to 'peekaboo.conf.sample')
-rw-r--r-- | peekaboo.conf.sample | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/peekaboo.conf.sample b/peekaboo.conf.sample index 63e7aaf..ae1b30d 100644 --- a/peekaboo.conf.sample +++ b/peekaboo.conf.sample @@ -5,34 +5,37 @@ [global] -user : peekaboo -group : peekaboo -socket_file : /opt/peekaboo/peekaboo.sock -pid_file : /opt/peekaboo/peekaboo.pid -interpreter : /usr/bin/python -chown2me_exec : /opt/peekaboo/bin/chown2me +user : peekaboo +group : peekaboo +socket_file : /opt/peekaboo/peekaboo.sock +pid_file : /opt/peekaboo/peekaboo.pid +interpreter : /usr/bin/python +chown2me_exec : /opt/peekaboo/bin/chown2me # log_level # possible values: CRITICAL | ERROR | WARNING | INFO | DEBUG -log_level : INFO -worker_count : 3 -sample_base_dir: /tmp -job_hash_regex : /var/lib/amavis/tmp/([^/]+)/parts.* +log_level : INFO +worker_count : 3 +sample_base_dir : /tmp +job_hash_regex : /var/lib/amavis/tmp/([^/]+)/parts.* +# 'yes' or 'no' to use Peekaboo's debug module, which allows +# additional code execution at runtime. +use_debug_module : no # # Database configuration # [db] # SQLite -url : sqlite:////path/to/database.db +url : sqlite:////path/to/database.db # MySQL (recommended) -# url : mysql+mysqldb://user:password@host/database +# url : mysql+mysqldb://user:password@host/database # PostgreSQL -# url : postgresql://user:password@host:port/database +# url : postgresql://user:password@host:port/database # # Cuckoo specific settings # [cuckoo] -exec : /usr/bin/cuckoo -submit : /usr/lib/python2.7/site-packages/Cuckoo-2.0.0-py2.7.egg/cuckoo/core/submit.py -storage_path : /home/peekaboo/.cuckoo/storage +exec : /usr/bin/cuckoo +submit : /usr/lib/python2.7/site-packages/Cuckoo-2.0.0-py2.7.egg/cuckoo/core/submit.py +storage_path : /home/peekaboo/.cuckoo/storage |