Skip to content
Browse files

Fix packaging to remove any node references.

  • Loading branch information...
1 parent 9fe323c commit 072dc3a494b3fe4b5fbce4073228c6cdd7f4ebda @jbuchbinder committed Oct 4, 2012
Showing with 2 additions and 6 deletions.
  1. +1 −1 redhat/config
  2. +1 −3 redhat/statsd-c
  3. +0 −2 statsd-c.spec.in
View
2 redhat/config
@@ -17,5 +17,5 @@
# -c clear stats on startup
#
-STATSD_OPTIONS=" -D -l /var/lock/statsd-c -s /var/lib/statsd-c/state.json -F 60 "
+STATSD_OPTIONS=" -l /var/lock/statsd-c -s /var/lib/statsd-c/state.json -F 60 "
View
4 redhat/statsd-c
@@ -19,11 +19,9 @@
. /etc/rc.d/init.d/functions
NAME=statsd-c
-NODE_EXE=/usr/bin/nodejs
VDED_OPTIONS=
LOGFILE=/var/log/statsd-c.log
-[ -x $NODE_EXE ] || exit 0
[ -f /usr/sbin/$NAME ] || exit 0
[ -f /etc/statsd-c/config ] && . /etc/statsd-c/config
@@ -38,7 +36,7 @@ start() {
if [ ! -f /var/lock/subsys/$NAME ]; then
echo -n $"Starting $NAME daemon: "
# daemon
- $NODE_EXE /usr/sbin/statsd-c $STATSD_OPTIONS >> $LOGFILE 2>&1 &
+ /usr/sbin/statsd-c -D $STATSD_OPTIONS >> $LOGFILE 2>&1 &
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
touch /var/lock/subsys/$NAME
View
2 statsd-c.spec.in
@@ -11,8 +11,6 @@ Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-Requires: nodejs
-
%description
Reimplementation of Etsy's infamous "statsd" in C.

0 comments on commit 072dc3a

Please sign in to comment.
Something went wrong with that request. Please try again.