From 42efd2ea70a214b57755830fa5bbc027c8d21854 Mon Sep 17 00:00:00 2001 From: Jerome Sagnole Date: Thu, 7 Sep 2017 21:15:16 +0200 Subject: [PATCH] correct issue when launch server with screen --- dist/docker/server/debian/common/init-khanat.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/docker/server/debian/common/init-khanat.sh b/dist/docker/server/debian/common/init-khanat.sh index 81bcc0798..e6f671350 100755 --- a/dist/docker/server/debian/common/init-khanat.sh +++ b/dist/docker/server/debian/common/init-khanat.sh @@ -288,7 +288,10 @@ for var in $KHANAT_DATA/translation/translated/*_en.txt; do nomfic=${var##*/}; for var in $KHANAT_DATA/translation/translated/*_en.txt; do nomfic=${var##*/}; ln -s $nomfic ${var%/*}/${nomfic/_en/_es}; done for var in $KHANAT_DATA/translation/translated/*_wk.txt; do nomfic=${var##*/}; ln -s $nomfic ${var%/*}/${nomfic/_wk/_ru}; done +# Copy default screen configuration cp /opt/code/ryzom/server/shard.screen.rc $KHANAT_PATH/server/shard.screen.rc +sed -i -r 's/\$RYZOM_PATH\/\.\.\/build\/bin\///g' $KHANAT_PATH/server/shard.screen.rc + ln -s /usr/local /home/gameserver/build ## Initialize ssh