'use strict';

var app = require('./application');

var server = app.listen(
	process.env.PORT || 3000,
	process.env.HOST || '::1'
);

process.once('SIGINT', function () {
	server.close(function () {
		process.exit(0);
	});
});

'use strict';

var app = require('./application');

var server = app.listen(
	process.env.BIND || 3000,
	process.env.HOST || '::1'
);

process.once('SIGINT', function () {
	server.close(function () {
		process.exit(0);
	});
});

Use BIND instead of PORT.
Use BIND instead of PORT.

(It’s deployed with Unix domain sockets.)
