Changed default port of proxy and auth to be 8080, and cleaned up exits
This commit is contained in:
parent
7bbbf3dbef
commit
0e881304ae
@ -20,6 +20,6 @@ from swift.common.wsgi import run_wsgi
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) != 2:
|
||||
print "Usage: %s CONFIG_FILE" % sys.argv[0]
|
||||
sys.exit("Usage: %s CONFIG_FILE" % sys.argv[0])
|
||||
run_wsgi(sys.argv[1], 'account-server', default_port=6002)
|
||||
|
||||
|
@ -20,6 +20,6 @@ from swift.common.wsgi import run_wsgi
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) != 2:
|
||||
print "Usage: %s CONFIG_FILE" % sys.argv[0]
|
||||
run_wsgi(sys.argv[1], 'auth-server', default_port=11000)
|
||||
sys.exit("Usage: %s CONFIG_FILE" % sys.argv[0])
|
||||
run_wsgi(sys.argv[1], 'auth-server', default_port=8080)
|
||||
|
||||
|
@ -20,5 +20,5 @@ from swift.common.wsgi import run_wsgi
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) != 2:
|
||||
print "Usage: %s CONFIG_FILE" % sys.argv[0]
|
||||
sys.exit("Usage: %s CONFIG_FILE" % sys.argv[0])
|
||||
run_wsgi(sys.argv[1], 'container-server', default_port=6001)
|
||||
|
@ -20,5 +20,5 @@ from swift.common.wsgi import run_wsgi
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) != 2:
|
||||
print "Usage: %s CONFIG_FILE" % sys.argv[0]
|
||||
sys.exit("Usage: %s CONFIG_FILE" % sys.argv[0])
|
||||
run_wsgi(sys.argv[1], 'object-server', default_port=6000)
|
||||
|
@ -20,5 +20,5 @@ from swift.common.wsgi import run_wsgi
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) != 2:
|
||||
print "Usage: %s CONFIG_FILE" % sys.argv[0]
|
||||
run_wsgi(sys.argv[1], 'proxy-server', default_port=80)
|
||||
sys.exit("Usage: %s CONFIG_FILE" % sys.argv[0])
|
||||
run_wsgi(sys.argv[1], 'proxy-server', default_port=8080)
|
||||
|
Loading…
Reference in New Issue
Block a user