Update startup messages with new ASCII logo

This commit is contained in:
2021-07-02 02:21:30 -04:00
parent c51023ba81
commit e94f5354e6
2 changed files with 33 additions and 35 deletions

View File

@ -117,21 +117,20 @@ def entrypoint():
# Print our startup messages
print('')
print('|--------------------------------------------------|')
print('| ######## ## ## ###### |')
print('| ## ## ## ## ## ## |')
print('| ## ## ## ## ## |')
print('| ######## ## ## ## |')
print('| ## ## ## ## |')
print('| ## ## ## ## ## |')
print('| ## ### ###### |')
print('|--------------------------------------------------|')
print('| Parallel Virtual Cluster API daemon v{0: <11} |'.format(version))
print('| API version: v{0: <34} |'.format(API_VERSION))
print('| Listen: {0: <40} |'.format('{}:{}'.format(config['listen_address'], config['listen_port'])))
print('| SSL: {0: <43} |'.format(str(config['ssl_enabled'])))
print('| Authentication: {0: <32} |'.format(str(config['auth_enabled'])))
print('|--------------------------------------------------|')
print('|----------------------------------------------------------|')
print('| |')
print('| ███████████ ██▙ ▟██ █████ █ █ █ |')
print('| ██ ██▙ ▟██ ██ |')
print('| ███████████ ██▙ ▟██ ██ |')
print('| ██ ██▙▟██ ███████████ |')
print('| |')
print('|----------------------------------------------------------|')
print('| Parallel Virtual Cluster API daemon v{0: <19} |'.format(version))
print('| API version: v{0: <42} |'.format(API_VERSION))
print('| Listen: {0: <48} |'.format('{}:{}'.format(config['listen_address'], config['listen_port'])))
print('| SSL: {0: <51} |'.format(str(config['ssl_enabled'])))
print('| Authentication: {0: <40} |'.format(str(config['auth_enabled'])))
print('|----------------------------------------------------------|')
print('')
pvc_api.app.run(config['listen_address'], config['listen_port'], threaded=True, ssl_context=context)