Skip to content

Commit

Permalink
fix: do not exit when executing in a container
Browse files Browse the repository at this point in the history
  • Loading branch information
neverbot committed May 26, 2024
1 parent ff50d05 commit 3719060
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR /opt/mud/hexagon
RUN mv .config.dgd ../bin/config.dgd
RUN chmod +x start.sh

ENTRYPOINT ./start.sh && /bin/bash
ENTRYPOINT ./start.sh & /bin/bash

# expose telnet mudos port
EXPOSE 5000/tcp
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ test -f $DRIVER || exit 0
test -f $CONFIG || exit 0

echo "Starting mud..."
$DRIVER $CONFIG 2> /dev/null 1>&2 &
$DRIVER $CONFIG 2> /dev/null 1>&2

echo "Mud online!"

0 comments on commit 3719060

Please sign in to comment.