]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/production.md
Misc. typos
[github/Chocobozzz/PeerTube.git] / support / doc / production.md
index 313b57889cee266c52fbabd4ce307358dc2d8970..cd85b04886800d2a60731ed9d0e97d50c19ebc27 100644 (file)
@@ -1,7 +1,7 @@
 # Production guide
 
   * [Installation](#installation)
-  * [Upgrade](#upgrade) 
+  * [Upgrade](#upgrade)
 
 ## Installation
 
@@ -24,6 +24,14 @@ Set its password:
 $ sudo passwd peertube
 ```
 
+**On FreeBSD**
+
+```
+$ sudo pw useradd -n peertube -d /var/www/peertube -s /usr/local/bin/bash -m
+$ sudo passwd peertube
+```
+or use `adduser` to create it interactively.
+
 ### Database
 
 Create the production database and a peertube user inside PostgreSQL:
@@ -115,6 +123,13 @@ Now you have the certificates you can reload nginx:
 $ sudo systemctl reload nginx
 ```
 
+**FreeBSD**
+On FreeBSD you can use [Dehydrated](https://dehydrated.io/) `security/dehydrated` for [Let's Encrypt](https://letsencrypt.org/)
+
+```
+$ sudo pkg install dehydrated
+```
+
 ### systemd
 
 If your OS uses systemd, copy the configuration template:
@@ -180,6 +195,8 @@ Now you can subscribe to the mailing list for PeerTube administrators: https://f
 
 #### Auto (minor versions only)
 
+The password it asks is PeerTube's database user password.
+
 ```
 $ cd /var/www/peertube/peertube-latest/scripts && sudo -u peertube ./upgrade.sh
 $ sudo systemctl restart peertube && sudo journalctl -fu peertube
@@ -238,7 +255,7 @@ Restart PeerTube:
 $ sudo systemctl restart peertube
 ```
 
-### Things went wrong? 
+### Things went wrong?
 
 Change `peertube-latest` destination to the previous version and restore your SQL backup: