remove manager (not available in current release)
This commit is contained in:
parent
3d915f93b7
commit
2b38b906e9
2 changed files with 0 additions and 19 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue