Feature/19 package server in a docker container #1

Merged
aleajactaest merged 3 commits from feature/19-package-server-in-a-Docker-container into master 2017-11-22 20:37:38 +00:00
2 changed files with 0 additions and 19 deletions
Showing only changes of commit 1e74f1e197 - Show all commits

View file

@ -71,14 +71,6 @@ then
fi fi
source /home/gameserver/.bashrc 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 # End

View file

@ -31,7 +31,6 @@ options:
--show-status-nagios : show status (ater start) --show-status-nagios : show status (ater start)
--show-status : show status (ater start) --show-status : show status (ater start)
--bash-after-start : command bash after start --bash-after-start : command bash after start
--start-with-manager : start khanat with manager
EOF EOF
} }
@ -191,10 +190,6 @@ do
METHOD_START=5 METHOD_START=5
shift shift
;; ;;
--start-with-manager)
METHOD_START=6
shift
;;
*) *)
msg_error "options '$1' not recognize" msg_error "options '$1' not recognize"
usage usage
@ -303,12 +298,6 @@ then
/opt/ext/servercontainer_launch_service.sh /opt/ext/servercontainer_launch_service.sh
#sleep 10 #sleep 10
bash 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 else
msg_error 'Bad option' msg_error 'Bad option'
exit 2 exit 2