Commit e3087545 authored by toshio's avatar toshio

Fix up the archive_dir in the config file

parent 902856e5
......@@ -85,7 +85,7 @@ class Prototype:
This sample archiver saves nmessages into a maildir
"""
archive_dir = os.path.join(config.ARCHIVES_DIR, 'prototype')
archive_dir = os.path.join(config.ARCHIVE_DIR, 'prototype')
try:
os.makedirs(archive_dir, 0775)
except OSError, e:
......
......@@ -173,6 +173,7 @@ class Configuration:
lock_dir = category.lock_dir,
log_dir = category.log_dir,
messages_dir = category.messages_dir,
archive_dir = category.archive_dir,
pipermail_private_dir = category.pipermail_private_dir,
pipermail_public_dir = category.pipermail_public_dir,
queue_dir = category.queue_dir,
......
......@@ -98,6 +98,9 @@ etc_dir: $var_dir/etc
ext_dir: $var_dir/ext
# Directory where the default IMessageStore puts its messages.
messages_dir: $var_dir/messages
# Directory for archive backends to store their archives in.
# Archivers should create a subdirectory in here to store their files
archive_dir: $var_dir/archives
# Directory for public Pipermail archiver artifacts.
pipermail_public_dir: $var_dir/archives/public
# Directory for private Pipermail archiver artifacts.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment