Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Improve FreeBSD setup instructions

Mateusz Piotrowski31d45e0e0bbb
diff --git a/support/doc/production.md b/support/doc/production.md
index 35c7de3b52..16efe17c4b 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -185,9 +185,8 @@ $ sudo journalctl -feu peertube
On 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
+$ sudo install -m 0555 /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/
+$ sudo sysrc peertube_enable="YES"
```
Run: