Skip to content

Restart container systemd unit file generated via Quadlet with dependencies #23122

Answered by Luap99
giovannibaratta asked this question in Q&A
Discussion options

You must be logged in to vote

Dependencies should be managed via systemd here, not podman.

You can use Requires= or BindsTo= depeding on what behavior you likein unit 2 with the name of unit 1.

see https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Requires=

In general the systemd dependency management is much better. By using --requires coder-db it doesn't actually start unit 1.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by giovannibaratta
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