aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-20 08:28:20 +0100
committerChocobozzz <me@florianbigard.com>2018-03-20 08:28:20 +0100
commit07aa93a8f2580742b3acfbf39c025a3f53bb498e (patch)
tree488ebb9ea7ec278609a267c6a883c7f7673ac6c1
parent747b29900da27fb3476fa19ace8fd6eb2e16d4ce (diff)
downloadPeerTube-07aa93a8f2580742b3acfbf39c025a3f53bb498e.tar.gz
PeerTube-07aa93a8f2580742b3acfbf39c025a3f53bb498e.tar.zst
PeerTube-07aa93a8f2580742b3acfbf39c025a3f53bb498e.zip
Reformat production guide
-rw-r--r--support/doc/production.md10
1 files changed, 5 insertions, 5 deletions
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:
109$ sudo systemctl reload nginx 109$ sudo systemctl reload nginx
110``` 110```
111 111
112### Systemd 112### systemd
113 113
114Copy the SystemD configuration template: 114If your OS uses systemd, copy the configuration template:
115 115
116``` 116```
117$ sudo cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/ 117$ 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:
136$ sudo systemctl enable peertube 136$ sudo systemctl enable peertube
137``` 137```
138 138
139### Run 139Run:
140 140
141``` 141```
142$ sudo systemctl start peertube 142$ sudo systemctl start peertube
@@ -145,7 +145,7 @@ $ sudo journalctl -feu peertube
145 145
146### FreeBSD 146### FreeBSD
147 147
148Copy the startup script and update rc.conf: 148If you're using FreeBSD, copy the startup script and update rc.conf:
149 149
150``` 150```
151$ sudo cp /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/ 151$ 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
153$ sudo echo peertube_enable="YES" >> /etc/rc.conf 153$ sudo echo peertube_enable="YES" >> /etc/rc.conf
154``` 154```
155 155
156#### Run 156Run:
157 157
158``` 158```
159$ sudo service peertube start 159$ sudo service peertube start