mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-22 16:36:07 +01:00
2a38b57a2a
* add systemd unit as example * mention community yum repo fixes #498 * rename textfile collector dir
433 B
433 B
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
.