aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/production.md
diff options
context:
space:
mode:
authorWirebrass <contact@wirebrass.fr>2019-08-13 09:22:54 +0200
committerChocobozzz <me@florianbigard.com>2019-08-13 09:22:54 +0200
commit67ac918df9ef89d65e43f1c4bd40f84417f0bd0c (patch)
treeaa4179592e81c4b99a03998f4e43254bbc00a9f0 /support/doc/production.md
parent07d02f6de885e3b9dafcab0080dca97d1c04e302 (diff)
downloadPeerTube-67ac918df9ef89d65e43f1c4bd40f84417f0bd0c.tar.gz
PeerTube-67ac918df9ef89d65e43f1c4bd40f84417f0bd0c.tar.zst
PeerTube-67ac918df9ef89d65e43f1c4bd40f84417f0bd0c.zip
Add/update OpenRC service script (#2012)
* Update APP_DIR and CONFIG_DIR APP_DIR is now in /var/www/peertube/peertube-latest (symbolic link). CONFIG_DIR is now in /var/www/peertube/config * Add OpenRC service script Tested on Gentoo Linux.
Diffstat (limited to 'support/doc/production.md')
-rw-r--r--support/doc/production.md21
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
200If 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
206If you want to start PeerTube on boot:
207
208```
209$ sudo rc-update add peertube default
210```
211
212Run 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
200The administrator password is automatically generated and can be found in the 221The administrator password is automatically generated and can be found in the