Move peertube to a different port to avoid clashes
This commit is contained in:
parent
a2005d92c0
commit
0a17554dbd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue