From aea874a0c5f15569e66cb5118d70511f8e97c6ba Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 27 Jun 2019 23:26:56 +0200 Subject: [PATCH] Expand launcher with connections option and fixes --- evennia/server/evennia_launcher.py | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/evennia/server/evennia_launcher.py b/evennia/server/evennia_launcher.py index 3fd53c4451..244196a26d 100644 --- a/evennia/server/evennia_launcher.py +++ b/evennia/server/evennia_launcher.py @@ -473,19 +473,20 @@ SERVER_INFO = \ ARG_OPTIONS = \ """Actions on installed server. One of: - start - launch server+portal if not running - reload - restart server in 'reload' mode - stop - shutdown server+portal - reboot - shutdown server+portal, then start again - reset - restart server in 'shutdown' mode - istart - start server in foreground (until reload) - ipstart - start portal in foreground - sstop - stop only server - kill - send kill signal to portal+server (force) - skill - send kill signal only to server - status - show server and portal run state - info - show server and portal port info - menu - show a menu of options + start - launch server+portal if not running + reload - restart server in 'reload' mode + stop - shutdown server+portal + reboot - shutdown server+portal, then start again + reset - restart server in 'shutdown' mode + istart - start server in foreground (until reload) + ipstart - start portal in foreground + sstop - stop only server + kill - send kill signal to portal+server (force) + skill - send kill signal only to server + status - show server and portal run state + info - show server and portal port info + menu - show a menu of options + connections - show connection wizard Others, like migrate, test and shell is passed on to Django.""" # ------------------------------------------------------------ @@ -2101,9 +2102,12 @@ def main(): elif option == "info": query_info() elif option == "start": + init_game_directory(CURRENT_DIR, check_db=True) error_check_python_modules() start_evennia(args.profiler, args.profiler) elif option == "istart": + init_game_directory(CURRENT_DIR, check_db=True) + error_check_python_modules() start_server_interactive() elif option == "ipstart": start_portal_interactive()