diff --git a/start_servers.py b/start_servers.py index a52df83c..5140e776 100755 --- a/start_servers.py +++ b/start_servers.py @@ -495,7 +495,7 @@ Features: 'command', nargs='?', choices=['start', 'stop', 'restart', 'status'], - default='foreground', + default=None, help='Command to execute (default: foreground mode)' ) @@ -512,6 +512,8 @@ Features: manager.run_background() elif args.command == 'status': manager.show_status() + elif args.command is None: + manager.run_foreground() else: manager.run_foreground()