mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2024-11-16 17:07:36 +00:00
5fae3d565a
The `tools` directory contains example ansible playbook, systemd example, and Nginx configuration example for the server. The directory name `deployment` for that stuffs much more suitable.
16 lines
335 B
SYSTEMD
16 lines
335 B
SYSTEMD
[Unit]
|
|
Description=Schedule fetch monero node info every 30 seconds
|
|
|
|
[Timer]
|
|
Persistent=true
|
|
#Run 120 seconds after boot for the first time
|
|
OnBootSec=120
|
|
#Run every 30 seconds thereafter
|
|
OnCalendar=*-*-* *:*:00,30
|
|
#File describing job to execute
|
|
Unit=xmr-nodes-prober.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|
|
|
|
# vim: filetype=systemd
|