dayzdockerserver/files/server.sh
Daniel Ceregatti 64f162001d Continue refactoring file locations in the two containers.
Also refactor variables so they're consistent.
Set container names in PS1.
Update docs.
2023-05-16 09:03:41 -07:00

14 lines
371 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
tail -f /dev/null
# Otherwise, start the server normally
#/files/dayzserver start