Skip to content

Commit 30659ff

Browse files
authored
Merge pull request #52 from Jana-Mobile/fix_systemd_hardcoded_nodedir
fix systemd unit file hardcoded stats.js and config paths
2 parents 990ae7a + ebcdac5 commit 30659ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

files/statsd-systemd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ Documentation=https://github.com/etsy/statsd/
44
Wants=network.target
55

66
[Service]
7+
EnvironmentFile=/etc/default/statsd
78
Type=simple
8-
ExecStart=/usr/bin/nodejs /usr/local/lib/node_modules/statsd/stats.js /etc/statsd/localConfig.js
9+
ExecStart=/usr/bin/nodejs $STATSJS $STATSD_CONFIG
910
Restart=on-failure
1011
RestartSec=10
1112

0 commit comments

Comments
 (0)