You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
node_exporter/examples/systemd
Nils K 715a2ed674
Gracefully handle absence of environment configuration file (#3062)
2 months ago
..
README.md
node_exporter.service Gracefully handle absence of environment configuration file (#3062) 2 months ago
node_exporter.socket
sysconfig.node_exporter

README.md

Systemd Unit

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

The unit files (*.service and *.socket) in this directory are 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. It needs a directory named /var/lib/node_exporter/textfile_collector, whose owner should be node_exporter:node_exporter. A sample file can be found in sysconfig.node_exporter.