projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8087a5
)
Add FreeBSD startup
author
Gérald Niel
<gerald.niel@gegeweb.org>
Mon, 19 Mar 2018 21:48:15 +0000
(22:48 +0100)
committer
Gérald Niel
<gerald.niel@gegeweb.org>
Mon, 19 Mar 2018 21:48:15 +0000
(22:48 +0100)
support/doc/production.md
patch
|
blob
|
history
diff --git
a/support/doc/production.md
b/support/doc/production.md
index db0c8d99fc77310aeebcc4f9981861779970a18a..5c21ab772f5c71fb35ea71704123819aa21d68cc 100644
(file)
--- a/
support/doc/production.md
+++ b/
support/doc/production.md
@@
-143,6
+143,22
@@
$ sudo systemctl start peertube
$ sudo journalctl -feu peertube
```
+### FreeBSD
+
+Copy the startup script and update rc.conf:
+
+```
+$ sudo cp /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/
+$ sudo chmod +x /usr/local/etc/rc.d/peertube
+$ sudo echo peertube_enable="YES" >> /etc/rc.conf
+```
+
+#### Run
+
+```
+$ sudo service peertube start
+```
+
### Administrator
The administrator password is automatically generated and can be found in the