Add rippled auto-update instructions

This commit is contained in:
wilsonianb
2016-05-03 12:43:19 -07:00
parent 57b4a67501
commit b6047412fb
2 changed files with 54 additions and 3 deletions

View File

@@ -108,8 +108,33 @@ It can take several minutes for `rippled` to sync with the rest of the network,
## Updating rippled ##
### Automatic ###
Automatic rippled updates can be enabled with a one-time Cron configuration:
1. Check that `/opt/ripple/bin/update-rippled.sh` exists. If it does not, perform a [manual update](#manual).
2. Install `crond`:
$ sudo yum install cronie
3. Open the crontab file for editing
$ sudo crontab -e
4. Add the following to the crontab file. Be sure to add a blank line at the end of the file.
RANDOM_DELAY=59
0 * * * * /opt/ripple/bin/update-rippled.sh
The installed `rippled` package will be updated within an hour of a new release.
### Manual ###
Run the following commands to update to the latest release of `rippled`:
$ sudo rpm -Uvh --replacepkgs https://mirrors.ripple.com/ripple-repo-el7.rpm
$ sudo yum update --enablerepo=ripple-stable rippled
$ sudo systemctl daemon-reload
$ sudo service rippled restart
@@ -130,7 +155,7 @@ Running a `rippled` validator that participates in the Consensus process is simp
## Validator Setup ##
1. [Install and configure a `rippled` server.](#installing-rippled)
1. [Install a `rippled` server.](#installing-rippled)
2. Start `rippled`: