1e5c3995e1
Change-Id: I2b63a94e622cbb48b3feb247c73f822a9500c36b Signed-off-by: Paul Belanger <pabelanger@redhat.com>
16 lines
358 B
Desktop File
16 lines
358 B
Desktop File
[Unit]
|
|
Description=Statsd Service
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment="PREFIX=/usr/local"
|
|
Environment="NODE=/usr/bin/nodejs"
|
|
Environment="ARGS=2>&1 >> /var/log/statsd/statsd.log"
|
|
Group=statsd
|
|
User=statsd
|
|
ExecStart=/bin/sh -c "${NODE} ${PREFIX}/bin/statsd /etc/statsd/config.js ${ARGS}"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|