From: Christian Heller Date: Mon, 10 Feb 2020 19:40:00 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/tasks?a=commitdiff_plain;h=c8555c8c31259af5b0252abb9314fb6564b768a3;p=config Fix. --- diff --git a/buster/apt-mark/peertube b/buster/apt-mark/peertube index 676bda9..9a08c8d 100644 --- a/buster/apt-mark/peertube +++ b/buster/apt-mark/peertube @@ -5,6 +5,8 @@ postgresql-contrib openssl redis-server python-dev +certbot +python3-certbot-nginx # only needed for setup g++ make diff --git a/buster/setup_scripts/setup_peertube.sh b/buster/setup_scripts/setup_peertube.sh index 77c9302..f57ec40 100755 --- a/buster/setup_scripts/setup_peertube.sh +++ b/buster/setup_scripts/setup_peertube.sh @@ -63,10 +63,12 @@ sed -i "s/password: 'peertube'/password: '${db_pw}'/g" config/production.yaml 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 ln -s /etc/nginx/sites-available/peertube /etc/nginx/sites-enabled/peertube -service nginx restart # Configure systemd and start PeerTube through it. cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/ systemctl daemon-reload systemctl enable peertube systemctl start peertube + +# Restart NGINX. +service nginx restart