Skip to content

Conversation

@m13253
Copy link
Owner

@m13253 m13253 commented May 24, 2025

This is a follow-up PR for #171.

I made a mistake by putting StartLimitIntervalSec into the [Service] section.
Actually, according to https://www.man7.org/linux/man-pages/man5/systemd.unit.5.html#[UNIT]_SECTION_OPTIONS, it should be in the [Unit] section.

This patch solves the warning message:

systemd[1]: /usr/lib/systemd/system/doh-client.service:16: Unknown key 'StartLimitIntervalSec' in section [Service], ignoring.

I tested the patch on Fedora 42. Looks good to me.
Feel free to test it. I will merge after 3 days.

@m13253 m13253 changed the title Merge StartLimitIntervalSec=0 from [Service] to [Unit] Move StartLimitIntervalSec=0 from [Service] to [Unit] May 24, 2025
This solves the warning message:
> systemd[1]: /usr/lib/systemd/system/doh-client.service:16: Unknown key 'StartLimitIntervalSec' in section [Service], ignoring.
@m13253 m13253 force-pushed the m13253/restart-backoff branch from bdfde37 to 8bc06ac Compare May 24, 2025 12:45
@m13253 m13253 merged commit c57a45d into master May 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants