16 lines
525 B
Text
16 lines
525 B
Text
|
|
[Unit]
|
||
|
|
Description=Monero Node Health Check Timer
|
||
|
|
# Deliberately NO `Requires=monerod.service`. Requires on a timer stops the
|
||
|
|
# timer when the required unit stops - "if the thing I am watching goes down,
|
||
|
|
# stop watching it" - and leaves nothing to re-arm when the service returns.
|
||
|
|
# Fulcrum's timer carried it and sat active+enabled for seven months without
|
||
|
|
# firing once. bitcoin_knots' timer still carries it; do not copy that.
|
||
|
|
|
||
|
|
[Timer]
|
||
|
|
OnBootSec=2min
|
||
|
|
OnUnitActiveSec=5min
|
||
|
|
Persistent=true
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=timers.target
|