mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00

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. Split the script up into separate files with distinct functionality. WIP. Add a template system for handling mod XML files. Add an express web server to be the provisioning container frontend. Add lots of comments. Add TL;DR for turnkey release server install.
18 lines
428 B
Bash
Executable file
18 lines
428 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@dz-server:\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
|