From 2034c3aaa06e4880db80c8990bd793a20d1b7af3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 Dec 2019 14:31:08 +0100 Subject: [PATCH] Add warning if videos directory is the same than redundancy --- server/initializers/checker-after-init.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts index 9fefba769..44efd346c 100644 --- a/server/initializers/checker-after-init.ts +++ b/server/initializers/checker-after-init.ts @@ -108,6 +108,10 @@ function checkConfig () { } } + if (CONFIG.STORAGE.VIDEOS_DIR === CONFIG.STORAGE.REDUNDANCY_DIR) { + logger.warn('Redundancy directory should be different than the videos folder.') + } + return null } -- 2.25.1