Permalink
Browse files

Initial rdio packaging

  • Loading branch information...
1 parent 153fc35 commit ba41a7a9d71d4852f0bad9d44856b7f31c94f983 @yosh yosh committed with kastner Mar 22, 2011
Showing with 63 additions and 0 deletions.
  1. +5 −0 debian/changelog
  2. +1 −0 debian/compat
  3. +12 −0 debian/control
  4. +22 −0 debian/copyright
  5. 0 { → debian}/rdioConfig.js
  6. +4 −0 debian/rules
  7. +3 −0 debian/scripts/start
  8. +4 −0 debian/statsd.install
  9. +12 −0 debian/statsd.upstart
View
@@ -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
@@ -0,0 +1 @@
+7
View
@@ -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
@@ -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.
File renamed without changes.
View
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
@@ -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
@@ -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
@@ -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

0 comments on commit ba41a7a

Please sign in to comment.