diff options
author | Gérald Niel <gerald.niel@gegeweb.org> | 2018-03-19 22:48:15 +0100 |
---|---|---|
committer | Gérald Niel <gerald.niel@gegeweb.org> | 2018-03-19 22:48:15 +0100 |
commit | 6d55bd21a929eb5558dc1dfc3ae6857136496355 (patch) | |
tree | 57990331c8a6759ba4a65890f70b11ebafb056a6 | |
parent | f8087a5476ecb4659949794b5c5978481c991cec (diff) | |
download | PeerTube-6d55bd21a929eb5558dc1dfc3ae6857136496355.tar.gz PeerTube-6d55bd21a929eb5558dc1dfc3ae6857136496355.tar.zst PeerTube-6d55bd21a929eb5558dc1dfc3ae6857136496355.zip |
Add FreeBSD startup
-rw-r--r-- | support/doc/production.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index db0c8d99f..5c21ab772 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -143,6 +143,22 @@ $ sudo systemctl start peertube | |||
143 | $ sudo journalctl -feu peertube | 143 | $ sudo journalctl -feu peertube |
144 | ``` | 144 | ``` |
145 | 145 | ||
146 | ### FreeBSD | ||
147 | |||
148 | Copy the startup script and update rc.conf: | ||
149 | |||
150 | ``` | ||
151 | $ sudo cp /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/ | ||
152 | $ sudo chmod +x /usr/local/etc/rc.d/peertube | ||
153 | $ sudo echo peertube_enable="YES" >> /etc/rc.conf | ||
154 | ``` | ||
155 | |||
156 | #### Run | ||
157 | |||
158 | ``` | ||
159 | $ sudo service peertube start | ||
160 | ``` | ||
161 | |||
146 | ### Administrator | 162 | ### Administrator |
147 | 163 | ||
148 | The administrator password is automatically generated and can be found in the | 164 | The administrator password is automatically generated and can be found in the |