/usr/share/papercut/settings.py is in papercut 0.9.13-7ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | import sys
DEFAULT_SETTINGS_FILE = '/usr/share/papercut/default_settings.py'
LOCAL_SETTINGS_FILE = '/etc/papercut/papercut_cfg.py'
execfile(DEFAULT_SETTINGS_FILE, globals(), locals())
try:
execfile(LOCAL_SETTINGS_FILE, globals(), locals())
except:
print >>sys.stderr, "Error in %s: %s %s" % (
LOCAL_SETTINGS_FILE, sys.exc_type, sys.exc_value)
# vim: et sw=4
|