Change peertube env location to avoid overwritting

This commit is contained in:
A 2025-05-22 10:21:17 -07:00
parent 7e8ce4c41a
commit 4d24cce640
2 changed files with 1 additions and 0 deletions

View File

@ -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