dayzdockerserver/server/start.sh

14 lines
414 B
Bash
Executable file

#!/usr/bin/env bash
# Set PS1 so we know we're in the container
cat > .bashrc <<EOF
alias ls='ls --color'
export PS1="${debian_chroot:+($debian_chroot)}\u@dz-server:\w\$ "
EOF
# Uncomment the line below to run things manually in the container, then run:
# docker compose exec main bash, and from within the container: dz start (or do whatever)
#tail -f /dev/null
# Otherwise, start the server normally
dz start