При запуске Архива загружает различные пути к каталогам из файла bootstrap.conf
. bootstrap.conf
находится в папке конфигурационных файлов:
По умолчанию файл bootstrap.conf содержит возможные настройки, они закомментированы так как Архива применяются значения по умолчанию.
# bootstrap.conf - This file contains the startup configuration for Archiva # location of configuration directory # configuration.path = /usr/local/etc/mailarchiva/ROOT # location of data directory (e.g. databases, etc.) # appdata.path = /var/opt/mailarchiva/ROOT # location of queues directories (receive, smtp, etc.) # queue.path = %appdata%/queue # default location of backup directory # backup.path = %appdata%/backup # location of directory containing temporary files # temp.path = %appdata%/temp # default export directory # export.path = %appdata%/export # base location of log directory (parent of audit and debug log) # log.path = /var/log/mailarchiva/ROOT # location of debug log directory # debuglog.path = %log%/debug # location of audit log directory # auditlog.path = %log%/audit # location of keystore file # keystore.filepath = %conf%/mailarchivacerts # location of database directory # database.file = %appdata%/database/archiva # log level # log.level = INFO |
Вы можете изменить данный файл, например.
backup.path=/var/opt/mailarchiva/demo database.file=%appdata%/database/archiva.db log.level=info configuration.path = /etc/opt/mailarchiva/ROOT appdata.path = /var/opt/mailarchiva/ROOT queue.path = /var/opt/mailarchiva/ROOT/queue temp.path = /var/opt/mailarchiva/ROOT/temp auditlog.path = /var/opt/mailarchiva/ROOT/logs/audit debuglog.path = /var/opt/mailarchiva/ROOT/logs/debug |
Для переноса данных уже работающей системы необходимо.
|