Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial rdio packaging

  • Loading branch information...
commit ba41a7a9d71d4852f0bad9d44856b7f31c94f983 1 parent 153fc35
@yosh yosh authored kastner committed
View
5 debian/changelog
@@ -0,0 +1,5 @@
+statsd (0.0.1) unstable; urgency=low
+
+ * Initial rdio packaging.
+
+ -- Manish Singh <manish@rd.io> Mon, 21 Mar 2011 23:04:52 -0700
View
1  debian/compat
@@ -0,0 +1 @@
+7
View
12 debian/control
@@ -0,0 +1,12 @@
+Source: statsd
+Section: devel
+Priority: optional
+Maintainer: Manish Singh <manish@rd.io>
+Standards-Version: 3.9.1
+
+Package: statsd
+Architecture: any
+Depends: nodejs
+Description: Stats aggregation daemon
+ A network daemon for aggregating statistics (counters and timers),
+ rolling them up, then sending them to graphite.
View
22 debian/copyright
@@ -0,0 +1,22 @@
+ Copyright (c) 2010 Etsy
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
View
0  rdioConfig.js → debian/rdioConfig.js
File renamed without changes
View
4 debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
View
3  debian/scripts/start
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Called by Upstart, /etc/init/statsd.conf
+/usr/bin/nodejs /usr/share/statsd/stats.js /etc/statsd/rdioConfig.js 2>&1 >> /tmp/statsd.log
View
4 debian/statsd.install
@@ -0,0 +1,4 @@
+stats.js /usr/share/statsd
+config.js /usr/share/statsd
+debian/rdioConfig.js /etc/statsd
+debian/scripts/start /usr/share/statsd/scripts
View
12 debian/statsd.upstart
@@ -0,0 +1,12 @@
+description "statsd"
+author "rdio"
+
+start on startup
+stop on shutdown
+
+script
+ # We found $HOME is needed. Without it, we ran into problems
+ export HOME="/root"
+
+ exec sudo -u fabric /usr/share/statsd/scripts/start
+end script
Please sign in to comment.
Something went wrong with that request. Please try again.