X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fproduction.md;h=4f20cf140f39ae1f699ba166765a03eb2d0357f2;hb=07d02f6de885e3b9dafcab0080dca97d1c04e302;hp=35c7de3b52eb552ffb91f18e01f1baa3758748b0;hpb=f74c294a0d5e9f61f13d64f3f7c028b512431995;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/production.md b/support/doc/production.md index 35c7de3b5..4f20cf140 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -185,9 +185,8 @@ $ sudo journalctl -feu peertube On FreeBSD, copy the startup script and update rc.conf: ``` -$ sudo cp /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/ -$ sudo chmod +x /usr/local/etc/rc.d/peertube -$ sudo echo peertube_enable="YES" >> /etc/rc.conf +$ sudo install -m 0555 /var/www/peertube/peertube-latest/support/freebsd/peertube /usr/local/etc/rc.d/ +$ sudo sysrc peertube_enable="YES" ``` Run: @@ -205,12 +204,16 @@ logs. You can set another password with: $ cd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root ``` +Alternatively you can set the environment variable `PT_INITIAL_ROOT_PASSWORD`, +to your own administrator password, although it must be 6 characters or more. + ### What now? Now your instance is up you can: * Subscribe to the mailing list for PeerTube administrators: https://framalistes.org/sympa/subscribe/peertube-admin * Add you instance to the public PeerTube instances index if you want to: https://instances.peertu.be/ + * Check [available CLI tools](/support/doc/tools.md) ## Upgrade