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

Move restart behavior of services from agent to systemd #207

@soenkeliebau

Description

@soenkeliebau

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions