[Unit]
Description=Mempool {{ hc.label }} Health Check
After=network.target docker.service
[Service]
Type=oneshot
User=root
ExecStart=/usr/local/bin/mempool-{{ hc.name }}-healthcheck-push.sh
Environment=HEALTHCHECK_PUSH_URL={{ hc.push_url }}
Environment=HEALTHCHECK_PUSH_TOKEN={{ healthcheck_push_token }}
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target