From 2b38b906e9185115a06f903cfae7361a31e6faa0 Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Wed, 22 Nov 2017 21:24:24 +0100 Subject: [PATCH] remove manager (not available in current release) --- .../common/servercontainer_configure_launcher.sh | 8 -------- server/debian/common/servercontainer_launch_auto.sh | 11 ----------- 2 files changed, 19 deletions(-) diff --git a/server/debian/common/servercontainer_configure_launcher.sh b/server/debian/common/servercontainer_configure_launcher.sh index b0a5697..299fdc9 100755 --- a/server/debian/common/servercontainer_configure_launcher.sh +++ b/server/debian/common/servercontainer_configure_launcher.sh @@ -71,14 +71,6 @@ then fi source /home/gameserver/.bashrc -#################################### -# Create new certificat -#################################### -openssl req -nodes -x509 -newkey rsa:2048 \ - -keyout "$KHANAT_PATH/key.pem" \ - -out "$KHANAT_PATH/cert.pem" \ - -days 365 \ - -subj "/C=FR/ST=France/L=Paris/O=khaganat/CN=khaganat.org" || exit 2 #################################### # End diff --git a/server/debian/common/servercontainer_launch_auto.sh b/server/debian/common/servercontainer_launch_auto.sh index f7d6768..233c24a 100755 --- a/server/debian/common/servercontainer_launch_auto.sh +++ b/server/debian/common/servercontainer_launch_auto.sh @@ -31,7 +31,6 @@ options: --show-status-nagios : show status (ater start) --show-status : show status (ater start) --bash-after-start : command bash after start - --start-with-manager : start khanat with manager EOF } @@ -191,10 +190,6 @@ do METHOD_START=5 shift ;; - --start-with-manager) - METHOD_START=6 - shift - ;; *) msg_error "options '$1' not recognize" usage @@ -303,12 +298,6 @@ then /opt/ext/servercontainer_launch_service.sh #sleep 10 bash -elif [[ $METHOD_START -eq 6 ]] -then - mkdir -p /home/gameserver/log/khanat - mkdir -p /home/gameserver/khanat/server/gpms - /home/gameserver/ext/khaganat/tools/manage.py --log info --show-log-console --filelog /home/gameserver/log/khanat/manager.log -c /home/gameserver/khanat/khaganat.cfg --launch-program - bash else msg_error 'Bad option' exit 2