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

Process Management using systemd #2

Closed
10 tasks
lfrancke opened this issue Nov 2, 2020 · 0 comments
Closed
10 tasks

Process Management using systemd #2

lfrancke opened this issue Nov 2, 2020 · 0 comments
Assignees
Milestone

Comments

@lfrancke
Copy link
Member

lfrancke commented Nov 2, 2020

One of the core components of the Agent will be to manage processes.
We decided to use systemd as the tool doing the actual supervision as it's available on all our target systems (Debian, Ubuntu, RHEL).

The Agent needs a way to manager systemd Units and this ticket is about implementing this functionality.

Every time a process starts it'll need configuration data on disk which needs to be materialized from configuration in the Operator/Orchestrator resources.
To make debugging easier we'd like to have a new uniquely named directory in a configurable location (e.g. /var/run/stackable/...) which has all the files a process needs.
An open question is whether restarts due to failure reuse an existing configuration directory or not.

This is the epic for this task and these are the dependencies:

Open Issues/questions:

  • Log file target (stdout/stderr)
  • Restart/failure behavior
  • Environment variable
  • Start on boot behavior
@soenkeliebau soenkeliebau self-assigned this Nov 13, 2020
@lfrancke lfrancke added this to the Milestone #1 milestone Jan 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants