Parcourir la source

Move peertube to a different port to avoid clashes

Bob Mottram il y a 7 ans
Parent
révision
0a17554dbd
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/freedombone-app-peertube

+ 2
- 2
src/freedombone-app-peertube Voir le fichier

38
 PEERTUBE_REPO="https://github.com/Chocobozzz/PeerTube"
38
 PEERTUBE_REPO="https://github.com/Chocobozzz/PeerTube"
39
 PEERTUBE_COMMIT='fef2c7164e025b12a64185dbab058ef4129733c6'
39
 PEERTUBE_COMMIT='fef2c7164e025b12a64185dbab058ef4129733c6'
40
 PEERTUBE_ONION_PORT=8136
40
 PEERTUBE_ONION_PORT=8136
41
-PEERTUBE_PORT=9000
41
+PEERTUBE_PORT=9004
42
 PEERTUBE_DIR=/etc/peertube
42
 PEERTUBE_DIR=/etc/peertube
43
 
43
 
44
 peertube_variables=(PEERTUBE_DOMAIN_NAME
44
 peertube_variables=(PEERTUBE_DOMAIN_NAME
566
     echo 'StandardError=syslog' >> /etc/systemd/system/peertube.service
566
     echo 'StandardError=syslog' >> /etc/systemd/system/peertube.service
567
     echo 'SyslogIdentifier=peertube' >> /etc/systemd/system/peertube.service
567
     echo 'SyslogIdentifier=peertube' >> /etc/systemd/system/peertube.service
568
     echo 'Restart=always' >> /etc/systemd/system/peertube.service
568
     echo 'Restart=always' >> /etc/systemd/system/peertube.service
569
-    echo "Environment=NODE_ENV=production PORT=${PEERTUBE_PORT}" >> /etc/systemd/system/peertube.service
569
+    echo "Environment=NODE_ENV=production" >> /etc/systemd/system/peertube.service
570
     echo '' >> /etc/systemd/system/peertube.service
570
     echo '' >> /etc/systemd/system/peertube.service
571
     echo '[Install]' >> /etc/systemd/system/peertube.service
571
     echo '[Install]' >> /etc/systemd/system/peertube.service
572
     echo 'WantedBy=multi-user.target' >> /etc/systemd/system/peertube.service
572
     echo 'WantedBy=multi-user.target' >> /etc/systemd/system/peertube.service