mirror of https://github.com/Chocobozzz/PeerTube
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).pull/1422/head
parent
fc2ec87a8c
commit
31d45e0e0b
|
@ -185,9 +185,8 @@ $ sudo journalctl -feu peertube
|
||||||
On FreeBSD, copy the startup script and update rc.conf:
|
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 install -m 0555 /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/
|
||||||
$ sudo chmod +x /usr/local/etc/rc.d/peertube
|
$ sudo sysrc peertube_enable="YES"
|
||||||
$ sudo echo peertube_enable="YES" >> /etc/rc.conf
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Run:
|
Run:
|
||||||
|
|
Loading…
Reference in New Issue