From 6a4905602636afd6650c9e6f4d0fcc2105d91100 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 May 2023 15:17:11 +0200 Subject: Add TMP persistent directory To store files that must be preserved between peertube restarts --- shared/server-commands/server/server.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'shared/server-commands/server') 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 { }, storage: { tmp: this.getDirectoryPath('tmp') + '/', + tmp_persistent: this.getDirectoryPath('tmp-persistent') + '/', bin: this.getDirectoryPath('bin') + '/', avatars: this.getDirectoryPath('avatars') + '/', videos: this.getDirectoryPath('videos') + '/', -- cgit v1.2.3