Skip to content
Discussion options

You must be logged in to vote

I've ended up with this. It's a little hacky, but it works well enough. It goes in /usr/lib/systemd/system-generators (though /etc/systemd/system-generators might be more appropriate) and parses the quadlet files (not all possible directories) and generates unit dropins to override the generated podman units. Using labels is the best way I could think of for defining arbitrary properties. Other possible features include:

  • Checking the environment variable SYSTEMD_SCOPE to determine whether system or user quadlets should be processed, but user processing might require placing the generator in a different directory, such as /etc/systemd/user-generators?
  • Parsing the generated ExecStart direc…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ygalblum
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Lombra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants