mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Theoretical move from /etc/awx/ to /etc/tower/.
This commit is contained in:
@@ -110,10 +110,10 @@ class Command(NoArgsCommand):
|
||||
socketio_notification_port = settings.SOCKETIO_NOTIFICATION_PORT
|
||||
|
||||
try:
|
||||
if os.path.exists('/etc/awx/awx.cert') and os.path.exists('/etc/awx/awx.key'):
|
||||
if os.path.exists('/etc/tower/awx.cert') and os.path.exists('/etc/tower/awx.key'):
|
||||
print 'Listening on port https://0.0.0.0:' + str(socketio_listen_port)
|
||||
server = SocketIOServer(('0.0.0.0', socketio_listen_port), TowerSocket(), resource='socket.io',
|
||||
keyfile='/etc/awx/awx.key', certfile='/etc/awx/awx.cert')
|
||||
keyfile='/etc/tower/awx.key', certfile='/etc/tower/awx.cert')
|
||||
else:
|
||||
print 'Listening on port http://0.0.0.0:' + str(socketio_listen_port)
|
||||
server = SocketIOServer(('0.0.0.0', socketio_listen_port), TowerSocket(), resource='socket.io')
|
||||
|
||||
Reference in New Issue
Block a user