| 1 | #!/usr/bin/env node |
| 2 | |
| 3 | 'use strict'; |
| 4 | |
| 5 | // Service entry point. Try node server --help for command line options. |
| 6 | |
| 7 | // Start the service by running service-runner, which in turn loads the config |
| 8 | // (config.yaml by default, specify other path with -c). It requires the |
| 9 | // module(s) specified in the config 'services' section (app.js in this |
| 10 | // example). |
| 11 | const ServiceRunner = require( 'service-runner' ); |
| 12 | new ServiceRunner().start(); |