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
Fatih Degirmenci a78c5d3cd8
Update systemd example readme file (#1663)
5 years ago
..
README.md Update systemd example readme file (#1663) 5 years ago
node_exporter.service Mention copr yum repository, add systemd unit (#529) 8 years ago
sysconfig.node_exporter Switch to kingpin flags (#639) 7 years ago

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 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. 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.