Permalink
Browse files

Merge pull request #11 from sendgrid-ops/issue-10

Fix for #10
  • Loading branch information...
2 parents c11ad9d + a198e41 commit ad8c148762da3fdea4f44f7355ae485b850b9f94 @hectcastro committed Mar 16, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 templates/default/statsd.erb
@@ -53,8 +53,7 @@ start() {
stop() {
echo -n $"Stopping $NAME daemon: "
- pid=$(ps aux | grep stats.js | grep nodejs | awk '{print $2}')
- kill $pid
+ kill $(ps aux | grep stats.js | grep statsd | awk '{print $2}')
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/$NAME

0 comments on commit ad8c148

Please sign in to comment.