Reformat production guide

This commit is contained in:
Chocobozzz 2018-03-20 08:28:20 +01:00
parent 747b29900d
commit 07aa93a8f2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 5 additions and 5 deletions

View File

@ -109,9 +109,9 @@ Now you have the certificates you can reload nginx:
$ sudo systemctl reload nginx $ sudo systemctl reload nginx
``` ```
### Systemd ### systemd
Copy the SystemD configuration template: If your OS uses systemd, copy the configuration template:
``` ```
$ sudo cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/ $ sudo cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/
@ -136,7 +136,7 @@ If you want to start PeerTube on boot:
$ sudo systemctl enable peertube $ sudo systemctl enable peertube
``` ```
### Run Run:
``` ```
$ sudo systemctl start peertube $ sudo systemctl start peertube
@ -145,7 +145,7 @@ $ sudo journalctl -feu peertube
### FreeBSD ### FreeBSD
Copy the startup script and update rc.conf: If you're using 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 cp /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/
@ -153,7 +153,7 @@ $ sudo chmod +x /usr/local/etc/rc.d/peertube
$ sudo echo peertube_enable="YES" >> /etc/rc.conf $ sudo echo peertube_enable="YES" >> /etc/rc.conf
``` ```
#### Run Run:
``` ```
$ sudo service peertube start $ sudo service peertube start