mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Move docker mount log message
This commit is contained in:
parent
9d4d740e8a
commit
f4073c30ac
1 changed files with 6 additions and 6 deletions
|
@ -242,12 +242,6 @@ def initialize(config_file):
|
|||
sys.version.replace('\n', '')
|
||||
))
|
||||
|
||||
if DOCKER and not DOCKER_MOUNT:
|
||||
logger.warn(
|
||||
"Docker /config volume not mounted. "
|
||||
"All data may be cleared when the container is recreated or updated."
|
||||
)
|
||||
|
||||
logger.info("Program Dir: {}".format(
|
||||
PROG_DIR
|
||||
))
|
||||
|
@ -258,6 +252,12 @@ def initialize(config_file):
|
|||
DB_FILE
|
||||
))
|
||||
|
||||
if DOCKER and not DOCKER_MOUNT:
|
||||
logger.warn(
|
||||
"Docker /config volume not mounted. Using a Docker volume instead. "
|
||||
"All data may be cleared when the container is recreated or updated."
|
||||
)
|
||||
|
||||
CONFIG.BACKUP_DIR, _ = check_folder_writable(
|
||||
CONFIG.BACKUP_DIR, os.path.join(DATA_DIR, 'backups'), 'backups')
|
||||
CONFIG.CACHE_DIR, _ = check_folder_writable(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue