aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/production.md
diff options
context:
space:
mode:
authorGérald Niel <gerald.niel@gegeweb.org>2018-03-27 19:14:31 +0200
committerGérald Niel <gerald.niel@gegeweb.org>2018-03-27 19:14:31 +0200
commit4c86a254a5d315ebcfdbc88927b42c2d06e8f1c7 (patch)
tree9d11c7893b616d1105af2977c8a6a0a7856d2db5 /support/doc/production.md
parente700d33b19d7314759ef9685408017f77df30525 (diff)
downloadPeerTube-4c86a254a5d315ebcfdbc88927b42c2d06e8f1c7.tar.gz
PeerTube-4c86a254a5d315ebcfdbc88927b42c2d06e8f1c7.tar.zst
PeerTube-4c86a254a5d315ebcfdbc88927b42c2d06e8f1c7.zip
Mise à jour documentation pour FreeBSD
Diffstat (limited to 'support/doc/production.md')
-rw-r--r--support/doc/production.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index 313b57889..34d213ec6 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -1,7 +1,7 @@
1# Production guide 1# Production guide
2 2
3 * [Installation](#installation) 3 * [Installation](#installation)
4 * [Upgrade](#upgrade) 4 * [Upgrade](#upgrade)
5 5
6## Installation 6## Installation
7 7
@@ -24,6 +24,14 @@ Set its password:
24$ sudo passwd peertube 24$ sudo passwd peertube
25``` 25```
26 26
27**On FreeBSD**
28
29```
30$ sudo pw useradd -n peertube -d /var/www/peertube -s /usr/local/bin/bash -m
31$ sudo passwd peertube
32```
33or use `adduser` to create it interactively.
34
27### Database 35### Database
28 36
29Create the production database and a peertube user inside PostgreSQL: 37Create the production database and a peertube user inside PostgreSQL:
@@ -115,6 +123,13 @@ Now you have the certificates you can reload nginx:
115$ sudo systemctl reload nginx 123$ sudo systemctl reload nginx
116``` 124```
117 125
126**FreeBSD**
127On FreeBSD you can use [Dehydrated](https://dehydrated.io/) `security/dehydrated` for [Let's Encrypt](https://letsencrypt.org/)
128
129```
130$ sudo pkg install dehydrated
131```
132
118### systemd 133### systemd
119 134
120If your OS uses systemd, copy the configuration template: 135If your OS uses systemd, copy the configuration template:
@@ -238,7 +253,7 @@ Restart PeerTube:
238$ sudo systemctl restart peertube 253$ sudo systemctl restart peertube
239``` 254```
240 255
241### Things went wrong? 256### Things went wrong?
242 257
243Change `peertube-latest` destination to the previous version and restore your SQL backup: 258Change `peertube-latest` destination to the previous version and restore your SQL backup:
244 259