dayzdockerserver/files/server.sh
Daniel Ceregatti 169018665f Start turning this project into a provisioning system: The main image will manage the base server files and mod files, then run servers as separate containers with these volumes mounted read-only, so they can be shared across server instances.
Add command line xml merge tool for when that time comes.
Add Red Falcon Heliz mod as the work-in-progress for getting a turnkey system that merges many different XML files that a full server mod installation will require.
Fix finding a mod by index and use that for all mod operations.
Start re-working how mods are added/removed/activated/deactivated.
Add a template system for handling mod XML files.
Add lots of comments.
2023-05-10 19:35:36 -07:00

18 lines
435 B
Bash
Executable file

#!/usr/bin/env bash
# Set PS1 so we know we're in the container
if ! [ -f .bashrc ]
then
echo "Creating .bashrc..."
cat > .bashrc <<EOF
alias ls='ls --color'
export PS1="${debian_chroot:+($debian_chroot)}\u@dayzdockerserver:\w\$ "
EOF
fi
# 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