Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Move restart behavior of services from agent to systemd #207

Closed
soenkeliebau opened this issue Jun 23, 2021 · 0 comments · Fixed by #263
Closed

Move restart behavior of services from agent to systemd #207

soenkeliebau opened this issue Jun 23, 2021 · 0 comments · Fixed by #263
Assignees
Labels
priority/high type/enhancement New feature or request

Comments

@soenkeliebau
Copy link
Member

As of #205 we default the RestartOn setting for our systemd units to No to avoid undefined behavior when systemd as well as the agent try to restart a failed unit.

This is not ideal for a couple of reasons and we would like to change this so that systemd is in charge of watching over services and restarting them as needed.

There are a couple of additional settings that we need to add to our units, including, but not limited to:

  • StartLimitBurst
  • StartLimitIntervalSec

More detail:
https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/high type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants