--- statsd-0.7.1.orig/debian/control +++ statsd-0.7.1/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Stephen Koenig Standards-Version: 3.9.3 -Build-Depends: debhelper (>= 8.0.0) +Build-Depends: debhelper (>= 7.0.0) Package: statsd Architecture: all --- statsd-0.7.1.orig/debian/compat +++ statsd-0.7.1/debian/compat @@ -1 +1 @@ -8 +7 --- statsd-0.7.1.orig/debian/changelog +++ statsd-0.7.1/debian/changelog @@ -1,3 +1,21 @@ +statsd (0.7.1-1ppa3) lucid; urgency=low + + * Lucid compatible upstart script. + + -- W. Andrew Loe III (loe) Thu, 10 Jul 2014 11:14:25 -0700 + +statsd (0.7.1-1ppa2) lucid; urgency=low + + * Lower debhelper version requirement. + + -- W. Andrew Loe III (loe) Thu, 10 Jul 2014 10:33:39 -0700 + +statsd (0.7.1-1ppa1) lucid; urgency=low + + * Build for lucid. + + -- W. Andrew Loe III (loe) Thu, 10 Jul 2014 10:29:50 -0700 + statsd (0.6.0-1) unstable; urgency=low * Non-maintainer upload. --- statsd-0.7.1.orig/debian/statsd.upstart +++ statsd-0.7.1/debian/statsd.upstart @@ -7,17 +7,14 @@ description "Network daemon for aggregating statistics" author "Etsy" -start on (local-filesystems and net-device-up IFACE!=lo) - -setuid _statsd -setgid _statsd +start on startup +stop on shutdown respawn -respawn limit 10 5 script NODE_BIN=$(which nodejs||which node) chdir /usr/share/statsd - exec $NODE_BIN stats.js /etc/statsd/localConfig.js + exec sudo -u _statsd $NODE_BIN stats.js /etc/statsd/localConfig.js end script