Skip to content

Commit

Permalink
Another try to workaround an issue with zombies
Browse files Browse the repository at this point in the history
Signed-off-by: Siteshwar Vashisht <[email protected]>
  • Loading branch information
siteshwar committed Jul 8, 2024
1 parent b9a54c2 commit 9b02e6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion containers/resalloc-server.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,7 @@ RUN chmod -R g+rwx $HOME/.ssh
COPY configs/ssh_config $HOME/.ssh/config

USER 1001
CMD bash -c /usr/bin/resalloc-server

# This is a hack to use bash to avoid zombie processes
CMD bash -c "/usr/bin/resalloc-server || exit 1"
# CMD sleep inf

0 comments on commit 9b02e6f

Please sign in to comment.