Skip to content

Commit

Permalink
sleep should be non-pid 1
Browse files Browse the repository at this point in the history
... if this comment is enabled for debugging purposes. This makes it
easy to kill the container in production.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
  • Loading branch information
siteshwar committed Sep 3, 2024
1 parent 3b75574 commit 8c309fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/resalloc-server.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ USER 1001
# they would be collected by bash
# https://github.com/openscanhub/fedora-infra/issues/61
CMD bash -c "/usr/bin/resalloc-server || exit 1"
# CMD sleep inf
# CMD bash -c "sleep inf || exit 1"

0 comments on commit 8c309fb

Please sign in to comment.