]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/production.md
Improving the CentOS7 specific parts
[github/Chocobozzz/PeerTube.git] / support / doc / production.md
index 5c21ab772f5c71fb35ea71704123819aa21d68cc..3a58811b006fde7dbe4b8dbd021053c4209e815f 100644 (file)
@@ -68,6 +68,8 @@ $ cd /var/www/peertube && sudo -u peertube cp peertube-latest/config/production.
 Then edit the `config/production.yaml` file according to your webserver
 configuration.
 
+**PeerTube does not support webserver host change**. Keep in mind your domain name is definitive after your first PeerTube start.
+
 ### Webserver
 
 We only provide official configuration files for Nginx.
@@ -109,9 +111,9 @@ Now you have the certificates you can reload nginx:
 $ sudo systemctl reload nginx
 ```
 
-### Systemd
+### systemd
 
-Copy the SystemD configuration template:
+If your OS uses systemd, copy the configuration template:
 
 ```
 $ sudo cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/
@@ -136,7 +138,7 @@ If you want to start PeerTube on boot:
 $ sudo systemctl enable peertube
 ```
 
-### Run
+Run:
 
 ```
 $ sudo systemctl start peertube
@@ -145,7 +147,7 @@ $ sudo journalctl -feu peertube
 
 ### FreeBSD
 
-Copy the startup script and update rc.conf:
+If you're using FreeBSD, copy the startup script and update rc.conf:
 
 ```
 $ sudo cp /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/
@@ -153,7 +155,7 @@ $ sudo chmod +x /usr/local/etc/rc.d/peertube
 $ sudo echo peertube_enable="YES" >> /etc/rc.conf
 ```
 
-#### Run
+Run:
 
 ```
 $ sudo service peertube start