mangos/contrib/docker/world/mangosd-entrypoint.sh
andybe c4095615b6
docker contribution for linux (#153)
* initial review for docker

* update link

* more typos

* hight letter

* it's realm.rft

* realm.rtf

* remove legacy code from dockerfiles

* docker-compose cleanup,- documented clone the right database

* add timezone to mangos.env

* add more at the build command

* double only

* it's a script not a container

* more documentation and moved into seperate folder

* revert back the openssl

* reformat documentation

* high letter

* timezone

* reduce dockerfiles and add documentation

* removed mangos user from build script

* correct links for realmd and world

* fixing small things, after railroid the documentation.

* command is called restart

* hold the documentation line

* add the changes for realmlist.wtf

Co-authored-by: AndyBe <andreas.benzler@gmail.com>
2021-05-09 21:11:05 +01:00

17 lines
302 B
Bash
Executable File

#!/bin/bash
DAEMON=mangosd
cd /app/bin
# run daemon as mangos user
screen -dmS mangos-zero "./$DAEMON"
echo "MaNGOS zero world daemon started"
UP_AND_RUNNING=2
# mangos server still up?
while [ $UP_AND_RUNNING -gt 1 ] ;
do
sleep 1;
UP_AND_RUNNING="$(ps uax | grep $DAEMON | wc -l)";
done