aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2018-11-21 10:18:44 +0100
committerRigel Kent <par@rigelk.eu>2018-11-21 10:46:56 +0100
commit31d45e0e0bbb9ab8ddca47af4e2d1d2905c938b3 (patch)
treee22bcc38ac13a3935b45db86b4e832e90bd74ab8 /support/doc
parentfc2ec87a8c4dcfbb91a1a62cf4c07a2a8e6a50fe (diff)
downloadPeerTube-31d45e0e0bbb9ab8ddca47af4e2d1d2905c938b3.tar.gz
PeerTube-31d45e0e0bbb9ab8ddca47af4e2d1d2905c938b3.tar.zst
PeerTube-31d45e0e0bbb9ab8ddca47af4e2d1d2905c938b3.zip
Improve FreeBSD setup instructions
Use install(1) instead of cp(1) and chmod(1) to install the service file. Also, use sysrc(8) to enable the PeerTube service in rc.conf(5).
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/production.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index 35c7de3b5..16efe17c4 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -185,9 +185,8 @@ $ sudo journalctl -feu peertube
185On FreeBSD, copy the startup script and update rc.conf: 185On FreeBSD, copy the startup script and update rc.conf:
186 186
187``` 187```
188$ sudo cp /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/ 188$ sudo install -m 0555 /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/
189$ sudo chmod +x /usr/local/etc/rc.d/peertube 189$ sudo sysrc peertube_enable="YES"
190$ sudo echo peertube_enable="YES" >> /etc/rc.conf
191``` 190```
192 191
193Run: 192Run: