diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-03 15:17:11 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | 6a4905602636afd6650c9e6f4d0fcc2105d91100 (patch) | |
tree | 1a6ffa4239f62bffa2e6e328ea61a52a65d58d35 /server/initializers/config.ts | |
parent | 3a0c2a77b1a6626699514ddaf8135f4397175443 (diff) | |
download | PeerTube-6a4905602636afd6650c9e6f4d0fcc2105d91100.tar.gz PeerTube-6a4905602636afd6650c9e6f4d0fcc2105d91100.tar.zst PeerTube-6a4905602636afd6650c9e6f4d0fcc2105d91100.zip |
Add TMP persistent directory
To store files that must be preserved between peertube restarts
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 699dd4704..f2d8f99b5 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -98,6 +98,7 @@ const CONFIG = { | |||
98 | 98 | ||
99 | STORAGE: { | 99 | STORAGE: { |
100 | TMP_DIR: buildPath(config.get<string>('storage.tmp')), | 100 | TMP_DIR: buildPath(config.get<string>('storage.tmp')), |
101 | TMP_PERSISTENT_DIR: buildPath(config.get<string>('storage.tmp_persistent')), | ||
101 | BIN_DIR: buildPath(config.get<string>('storage.bin')), | 102 | BIN_DIR: buildPath(config.get<string>('storage.bin')), |
102 | ACTOR_IMAGES: buildPath(config.get<string>('storage.avatars')), | 103 | ACTOR_IMAGES: buildPath(config.get<string>('storage.avatars')), |
103 | LOG_DIR: buildPath(config.get<string>('storage.logs')), | 104 | LOG_DIR: buildPath(config.get<string>('storage.logs')), |