aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-03 15:17:11 +0200
committerChocobozzz <chocobozzz@cpy.re>2023-05-09 08:57:34 +0200
commit6a4905602636afd6650c9e6f4d0fcc2105d91100 (patch)
tree1a6ffa4239f62bffa2e6e328ea61a52a65d58d35 /shared/server-commands
parent3a0c2a77b1a6626699514ddaf8135f4397175443 (diff)
downloadPeerTube-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 'shared/server-commands')
-rw-r--r--shared/server-commands/server/server.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts
index f68b81367..c8f6a0c5b 100644
--- a/shared/server-commands/server/server.ts
+++ b/shared/server-commands/server/server.ts
@@ -364,6 +364,7 @@ export class PeerTubeServer {
364 }, 364 },
365 storage: { 365 storage: {
366 tmp: this.getDirectoryPath('tmp') + '/', 366 tmp: this.getDirectoryPath('tmp') + '/',
367 tmp_persistent: this.getDirectoryPath('tmp-persistent') + '/',
367 bin: this.getDirectoryPath('bin') + '/', 368 bin: this.getDirectoryPath('bin') + '/',
368 avatars: this.getDirectoryPath('avatars') + '/', 369 avatars: this.getDirectoryPath('avatars') + '/',
369 videos: this.getDirectoryPath('videos') + '/', 370 videos: this.getDirectoryPath('videos') + '/',