Skip to content

Commit

Permalink
Fixing #88
Browse files Browse the repository at this point in the history
  • Loading branch information
deniszh committed Feb 22, 2019
1 parent 8a3d18b commit 37beae5
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions conf/etc/service/carbon-aggregator/log/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec tee -a /var/log/carbon-aggregator.log
2 changes: 1 addition & 1 deletion conf/etc/service/carbon-aggregator/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

rm -f /opt/graphite/storage/carbon-aggregator-a.pid
exec python3 /opt/graphite/bin/carbon-aggregator.py start --debug 2>&1 | tee -a /var/log/carbon-aggregator.log
exec python3 /opt/graphite/bin/carbon-aggregator.py start --debug 2>&1
3 changes: 3 additions & 0 deletions conf/etc/service/carbon-relay/log/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec tee -a /var/log/carbon-relay.log
2 changes: 1 addition & 1 deletion conf/etc/service/carbon-relay/run
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
[[ -n "${RELAY}" ]] || exit 1

rm -f /opt/graphite/storage/carbon-relay-a.pid
exec python3 /opt/graphite/bin/carbon-relay.py start --debug 2>&1 | tee -a /var/log/carbon-relay.log
exec python3 /opt/graphite/bin/carbon-relay.py start --debug 2>&1
3 changes: 3 additions & 0 deletions conf/etc/service/carbon/log/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec tee -a /var/log/carbon.log
2 changes: 1 addition & 1 deletion conf/etc/service/carbon/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

rm -f /opt/graphite/storage/carbon-cache-a.pid
exec python3 /opt/graphite/bin/carbon-cache.py start --debug 2>&1 | tee -a /var/log/carbon.log
exec python3 /opt/graphite/bin/carbon-cache.py start --debug 2>&1
3 changes: 3 additions & 0 deletions conf/etc/service/statsd/log/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec tee -a /var/log/statsd.log
2 changes: 1 addition & 1 deletion conf/etc/service/statsd/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ if folder_empty /opt/statsd/config/; then
cp /opt/defaultconf/statsd/config/*.js /opt/statsd/config/
fi

exec node /opt/statsd/stats.js /opt/statsd/config/$STATSD_INTERFACE.js 2>&1 | tee -a /var/log/statsd.log
exec node /opt/statsd/stats.js /opt/statsd/config/$STATSD_INTERFACE.js 2>&1

0 comments on commit 37beae5

Please sign in to comment.