Procházet zdrojové kódy

Move peertube to a different port to avoid clashes

Bob Mottram před 7 roky
rodič
revize
0a17554dbd
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      src/freedombone-app-peertube

+ 2
- 2
src/freedombone-app-peertube Zobrazit soubor

@@ -38,7 +38,7 @@ PEERTUBE_CODE=
38 38
 PEERTUBE_REPO="https://github.com/Chocobozzz/PeerTube"
39 39
 PEERTUBE_COMMIT='fef2c7164e025b12a64185dbab058ef4129733c6'
40 40
 PEERTUBE_ONION_PORT=8136
41
-PEERTUBE_PORT=9000
41
+PEERTUBE_PORT=9004
42 42
 PEERTUBE_DIR=/etc/peertube
43 43
 
44 44
 peertube_variables=(PEERTUBE_DOMAIN_NAME
@@ -566,7 +566,7 @@ function install_peertube {
566 566
     echo 'StandardError=syslog' >> /etc/systemd/system/peertube.service
567 567
     echo 'SyslogIdentifier=peertube' >> /etc/systemd/system/peertube.service
568 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 570
     echo '' >> /etc/systemd/system/peertube.service
571 571
     echo '[Install]' >> /etc/systemd/system/peertube.service
572 572
     echo 'WantedBy=multi-user.target' >> /etc/systemd/system/peertube.service