mirror of
https://github.com/bgp/stayrtr.git
synced 2024-05-06 15:54:54 +00:00
More cleanups
This commit is contained in:
committed by
Job Snijders
parent
00bdf085ca
commit
eff66b2e0d
11
README.md
11
README.md
@ -125,8 +125,6 @@ Once you have a binary:
|
||||
$ ./stayrtr -tls.bind 127.0.0.1:8282
|
||||
```
|
||||
|
||||
Make sure cf.pub is in the current directory. Or pass `-verify.key=path/to/cf.pub`
|
||||
|
||||
## Package it
|
||||
|
||||
If you want to package it (deb/rpm), you can use the pre-built docker-compose file.
|
||||
@ -287,17 +285,8 @@ Use your own validator, as long as the JSON source follows the following schema:
|
||||
|
||||
By default, the session ID will be randomly generated. The serial will start at zero.
|
||||
|
||||
You can define a serial to start with the following way:
|
||||
|
||||
* the JSON must contain a `serial` field in `metadata`; and
|
||||
* the flag `-useserial` must be set to 1 or 2
|
||||
|
||||
When flag is set to 1, every change of file will increment the serial regardless of the current `serial` field.
|
||||
Make sure the refresh rate of StayRTR is more frequent than the refresh rate of the JSON.
|
||||
|
||||
When flag is set to 2, StayRTR will set the value of the serial in the JSON. If an ID is missed or not updated,
|
||||
it will cause discrepancies on the client.
|
||||
|
||||
## Configurations
|
||||
|
||||
### Compatibility matrix
|
||||
|
Reference in New Issue
Block a user