Skip to content

Commit

Permalink
Adds Windows Service support
Browse files Browse the repository at this point in the history
This assumes that there is a local 'config.js' within
the statsd folder.

Signed-off-by: ciaranj <ciaranj@gmail.com>
  • Loading branch information
ciaranj committed Nov 1, 2012
1 parent 4538070 commit 6009b6c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Expand Up @@ -3,7 +3,10 @@
"description": "A simple, lightweight network daemon to collect metrics over UDP", "description": "A simple, lightweight network daemon to collect metrics over UDP",
"author": "Etsy", "author": "Etsy",
"scripts": { "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": { "repository": {
"type": "git", "type": "git",
Expand All @@ -19,7 +22,8 @@
"temp": "0.4.x" "temp": "0.4.x"
}, },
"optionalDependencies": { "optionalDependencies": {
"node-syslog":"1.1.3" "node-syslog":"1.1.3",
"winser": "=0.0.11"
}, },
"engine": { "engine": {
"node" : ">=0.4" "node" : ">=0.4"
Expand Down

0 comments on commit 6009b6c

Please sign in to comment.