Theoretical move from /etc/awx/ to /etc/tower/.

This commit is contained in:
Luke Sneeringer
2014-07-17 14:02:56 -05:00
parent 0f67f6d57c
commit 3b45252039
5 changed files with 13 additions and 13 deletions

View File

@@ -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')