Skip to content

Commit

Permalink
Merge pull request #52 from Jana-Mobile/fix_systemd_hardcoded_nodedir
Browse files Browse the repository at this point in the history
fix systemd unit file hardcoded stats.js and config paths
  • Loading branch information
jdowning authored Dec 18, 2017
2 parents 990ae7a + ebcdac5 commit 30659ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/statsd-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Documentation=https://github.com/etsy/statsd/
Wants=network.target

[Service]
EnvironmentFile=/etc/default/statsd
Type=simple
ExecStart=/usr/bin/nodejs /usr/local/lib/node_modules/statsd/stats.js /etc/statsd/localConfig.js
ExecStart=/usr/bin/nodejs $STATSJS $STATSD_CONFIG
Restart=on-failure
RestartSec=10

Expand Down

0 comments on commit 30659ff

Please sign in to comment.