From: Chocobozzz Date: Tue, 20 Mar 2018 07:28:20 +0000 (+0100) Subject: Reformat production guide X-Git-Tag: v1.0.0-beta.1~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07aa93a8f2580742b3acfbf39c025a3f53bb498e;p=oweals%2Fpeertube.git Reformat production guide --- diff --git a/support/doc/production.md b/support/doc/production.md index 5c21ab772..43c32f089 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -109,9 +109,9 @@ Now you have the certificates you can 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/ @@ -136,7 +136,7 @@ If you want to start PeerTube on boot: $ sudo systemctl enable peertube ``` -### Run +Run: ``` $ sudo systemctl start peertube @@ -145,7 +145,7 @@ $ sudo journalctl -feu peertube ### 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/ @@ -153,7 +153,7 @@ $ sudo chmod +x /usr/local/etc/rc.d/peertube $ sudo echo peertube_enable="YES" >> /etc/rc.conf ``` -#### Run +Run: ``` $ sudo service peertube start