Skip to content

Commit

Permalink
Merge pull request statsd#532 from roflmao/master
Browse files Browse the repository at this point in the history
Adding systemd initscript
  • Loading branch information
mrtazz committed Oct 2, 2015
2 parents d77e7c4 + 74a1eb9 commit 3676ce6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions debian/statsd-proxy.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Network daemon for aggregating statistics
Documentation=https://github.com/etsy/statsd/
Wants=network.target

[Service]
Type=simple
User=_statsd
ExecStart=/usr/bin/nodejs /usr/share/statsd/proxy.js /etc/statsd/proxyConfig.js

[Install]
11 changes: 11 additions & 0 deletions debian/statsd.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Network daemon for aggregating statistics
Documentation=https://github.com/etsy/statsd/
Wants=network.target

[Service]
Type=simple
User=_statsd
ExecStart=/usr/bin/nodejs /usr/share/statsd/stats.js /etc/statsd/localConfig.js

[Install]

0 comments on commit 3676ce6

Please sign in to comment.