Commit 83761cf4 authored by ibuler's avatar ibuler

Check

parent bf09e11b
...@@ -36,8 +36,9 @@ class Luna(Flask, AppMixin): ...@@ -36,8 +36,9 @@ class Luna(Flask, AppMixin):
def run(self, host=None, port=None, debug=None, **options): def run(self, host=None, port=None, debug=None, **options):
print(time.ctime()) print(time.ctime())
print('Luna version %s, more see https://www.jumpserver.org' % __version__) print('Luna version %s, more see https://www.jumpserver.org' % __version__)
print('Starting ssh server at %(host)s:%(port)s' % {'host': self.config['BIND_HOST'], print('Starting ssh server at %(host)s:%(port)s' %
'port': self.config['LISTEN_PORT']}) {'host': self.config['BIND_HOST'],
'port': self.config['LISTEN_PORT']})
print('Quit the server with CONTROL-C.') print('Quit the server with CONTROL-C.')
return Flask.run(self, host=host, port=port, debug=debug, **options) return Flask.run(self, host=host, port=port, debug=debug, **options)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment