diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/production.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index 4f20cf140..f770b58f6 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -195,6 +195,27 @@ Run: | |||
195 | $ sudo service peertube start | 195 | $ sudo service peertube start |
196 | ``` | 196 | ``` |
197 | 197 | ||
198 | ### OpenRC | ||
199 | |||
200 | If your OS uses OpenRC, copy the service script: | ||
201 | |||
202 | ``` | ||
203 | $ sudo cp /var/www/peertube/peertube-latest/support/init.d/peertube /etc/init.d/ | ||
204 | ``` | ||
205 | |||
206 | If you want to start PeerTube on boot: | ||
207 | |||
208 | ``` | ||
209 | $ sudo rc-update add peertube default | ||
210 | ``` | ||
211 | |||
212 | Run and print last logs: | ||
213 | |||
214 | ``` | ||
215 | $ sudo /etc/init.d/peertube start | ||
216 | $ tail -f /var/log/peertube/peertube.log | ||
217 | ``` | ||
218 | |||
198 | ### Administrator | 219 | ### Administrator |
199 | 220 | ||
200 | The administrator password is automatically generated and can be found in the | 221 | The administrator password is automatically generated and can be found in the |