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