node_exporter/examples/systemd
Tobias Florek 2a38b57a2a Mention copr yum repository, add systemd unit (#529)
* add systemd unit as example

* mention community yum repo

fixes #498

* rename textfile collector dir
2017-04-19 18:54:15 +02:00
..
node_exporter.service Mention copr yum repository, add systemd unit (#529) 2017-04-19 18:54:15 +02:00
README.md Mention copr yum repository, add systemd unit (#529) 2017-04-19 18:54:15 +02:00
sysconfig.node_exporter Mention copr yum repository, add systemd unit (#529) 2017-04-19 18:54:15 +02:00

Systemd Unit

If you are using distribution packages or the copr repository, you don't need to deal with these files!

The unit file in this directory is to be put into /etc/systemd/system. It needs a user named node_exporter, whose shell should be /sbin/nologin and should not have any special privileges. It needs a sysconfig file in /etc/sysconfig/node_exporter. A sample file can be found in sysconfig.node_exporter.