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
Perry Naseck 440a132c38
Add multiple listeners and systemd socket listener activation (#2393)
2 years ago
..
README.md Add multiple listeners and systemd socket listener activation (#2393) 2 years ago
node_exporter.service Add multiple listeners and systemd socket listener activation (#2393) 2 years ago
node_exporter.socket Add multiple listeners and systemd socket listener activation (#2393) 2 years ago
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.