readme: add timer example

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-11-03 15:16:49 +01:00
parent 970c326b9e
commit 83676f10cf
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 6 additions and 1 deletions

View File

@ -41,8 +41,13 @@ If you want to rebuild the image regularly you can enable it via:
beacon_node_timer_rebuild: true
beacon_node_timer_frequency: 'daily'
```
Which should create a `` timer:
Which should create a `beacon-node-${network}-rebuild` timer:
```
> sudo systemctl list-timers 'beacon-node-*'
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2020-11-04 00:00:00 UTC 9h left n/a n/a beacon-node-testnet3-rebuild.timer beacon-node-testnet3-rebuild.service
1 timers listed.
```
Which will run `docker-compose up --build --force-recreate -d`.