From 4d24cce6401e56bfefe5c117d76baefc02768209 Mon Sep 17 00:00:00 2001 From: A Date: Thu, 22 May 2025 10:21:17 -0700 Subject: [PATCH] Change peertube env location to avoid overwritting --- conf/peertube/{environment => template-environment} | 0 install.sh | 1 + 2 files changed, 1 insertion(+) rename conf/peertube/{environment => template-environment} (100%) diff --git a/conf/peertube/environment b/conf/peertube/template-environment similarity index 100% rename from conf/peertube/environment rename to conf/peertube/template-environment diff --git a/install.sh b/install.sh index c04c7b0..819d6df 100755 --- a/install.sh +++ b/install.sh @@ -153,6 +153,7 @@ peertube_config () { PEERTUBE_SECRET=$(openssl rand -hex 32) + cp $DCOMMS_DIR/conf/peertube/template-environment $DCOMMS_DIR/conf/peertube/environment sed -i "s/REPLACEME/$DWEB_DOMAIN/" $DCOMMS_DIR/conf/peertube/environment sed -i "s/PEERTUBE_SECRET=/PEERTUBE_SECRET=$PEERTUBE_SECRET/" $DCOMMS_DIR/conf/peertube/environment