Skip to content
Snippets Groups Projects
Commit 0a17554d authored by Bob Mottram's avatar Bob Mottram
Browse files

Move peertube to a different port to avoid clashes

parent a2005d92
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ PEERTUBE_CODE=
PEERTUBE_REPO="https://github.com/Chocobozzz/PeerTube"
PEERTUBE_COMMIT='fef2c7164e025b12a64185dbab058ef4129733c6'
PEERTUBE_ONION_PORT=8136
PEERTUBE_PORT=9000
PEERTUBE_PORT=9004
PEERTUBE_DIR=/etc/peertube
peertube_variables=(PEERTUBE_DOMAIN_NAME
......@@ -566,7 +566,7 @@ function install_peertube {
echo 'StandardError=syslog' >> /etc/systemd/system/peertube.service
echo 'SyslogIdentifier=peertube' >> /etc/systemd/system/peertube.service
echo 'Restart=always' >> /etc/systemd/system/peertube.service
echo "Environment=NODE_ENV=production PORT=${PEERTUBE_PORT}" >> /etc/systemd/system/peertube.service
echo "Environment=NODE_ENV=production" >> /etc/systemd/system/peertube.service
echo '' >> /etc/systemd/system/peertube.service
echo '[Install]' >> /etc/systemd/system/peertube.service
echo 'WantedBy=multi-user.target' >> /etc/systemd/system/peertube.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment