Skip to content

Handle podman containers as a runit service? #53140

Answered by Johnnynator
bryanasdev000 asked this question in Q&A
Discussion options

You must be logged in to vote

Some remarks
a) 2>&1 in a line with exec <program> does essentially nothing, the exec 2>&1 before does the redirection already
b) You really want to use exec podman and not have bash lingering in the middle. (Or just skip that jellyfin.sh script entirely and just run exec chpt -u user:user podman args... directly in run.

Your current setup will have bash receive SIGTERM, bash will exit, podman continues to run and runit only ever knew of bash and not podman.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bryanasdev000
Comment options

@bryanasdev000
Comment options

Answer selected by bryanasdev000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants