X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=buster%2Fsetup_scripts%2Fsetup_peertube.sh;h=fb9afc95b333adfbc484f008ebc56cb2332fd34d;hb=1051f875935af7ecda03a8164013c8849039d92a;hp=8628f9081180d955ae38ee8e142cac0418bfc481;hpb=22facf0c41dbf892e8a5dcdb25f1862e98f62185;p=config
diff --git a/buster/setup_scripts/setup_peertube.sh b/buster/setup_scripts/setup_peertube.sh
index 8628f90..fb9afc9 100755
--- a/buster/setup_scripts/setup_peertube.sh
+++ b/buster/setup_scripts/setup_peertube.sh
@@ -63,7 +63,7 @@ rm /etc/nginx/sites-enabled/default
# Configure NGINX.
cp /var/www/peertube/peertube-latest/support/nginx/peertube /etc/nginx/sites-available/peertube
sed -i "s/peertube.example.com/${domain}/g" /etc/nginx/sites-available/peertube
-sed -iE 's/^([[:space:]]*)(access_log|error_log)([[:space:]])/\1# \2\3/' /etc/nginx/sites-available/peertube
+sed -i -E 's/^([[:space:]]*)(access_log|error_log)([[:space:]])/\1# \2\3/g' /etc/nginx/sites-available/peertube
ln -s /etc/nginx/sites-available/peertube /etc/nginx/sites-enabled/peertube
# Configure systemd and start PeerTube through it.