Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adds Windows Service support #186

Merged
merged 1 commit into from

2 participants

Ciaran Jessup Daniel Schauenberg
Ciaran Jessup

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

Signed-off-by: ciaranj ciaranj@gmail.com

Ciaran Jessup ciaranj Adds Windows Service support
This assumes that there is a local 'config.js' within
the statsd folder.

Signed-off-by: ciaranj <ciaranj@gmail.com>
6009b6c
Daniel Schauenberg
Owner

Thanks for the contribution!

Daniel Schauenberg mrtazz merged commit edbd135 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 1, 2012
  1. Ciaran Jessup

    Adds Windows Service support

    ciaranj authored
    This assumes that there is a local 'config.js' within
    the statsd folder.
    
    Signed-off-by: ciaranj <ciaranj@gmail.com>
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 2 deletions.
  1. +6 −2 package.json
8 package.json
View
@@ -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"
Something went wrong with that request. Please try again.