Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adds Windows Service support

This assumes that there is a local 'config.js' within
the statsd folder.

Signed-off-by: ciaranj <ciaranj@gmail.com>
  • Loading branch information...
commit 6009b6c87cd2aaf9fd19db1f789825b0efbaf73a 1 parent 4538070
@ciaranj ciaranj authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 package.json
View
8 package.json
@@ -3,7 +3,10 @@
"description": "A simple, lightweight network daemon to collect metrics over UDP",
"author": "Etsy",
"scripts": {
- "test": "./run_tests.sh"
+ "test": "./run_tests.sh",
+ "start": "node stats.js config.js",
+ "install-windows-service": "node_modules\\.bin\\winser -i",
+ "uninstall-windows-service": "node_modules\\.bin\\winser -r"
},
"repository": {
"type": "git",
@@ -19,7 +22,8 @@
"temp": "0.4.x"
},
"optionalDependencies": {
- "node-syslog":"1.1.3"
+ "node-syslog":"1.1.3",
+ "winser": "=0.0.11"
},
"engine": {
"node" : ">=0.4"
Please sign in to comment.
Something went wrong with that request. Please try again.