[Unit] Description=Navidrome Health Check After=network.target navidrome.service [Service] Type=oneshot User=root ExecStart={{ navidrome_healthcheck_script_path }} # Comfortably longer than the script's 30s curl plus its push retries. TimeoutStartSec=120 Environment=HEALTHCHECK_PUSH_URL={{ healthcheck_push_url }} Environment=HEALTHCHECK_PUSH_TOKEN={{ healthcheck_push_token }} Environment=NAVIDROME_URL=http://127.0.0.1:{{ navidrome_port }} StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target