node_exporter/examples/systemd/node_exporter.service

12 lines
240 B
Desktop File

[Unit]
Description=Node Exporter
Requires=node_exporter.socket
[Service]
User=node_exporter
EnvironmentFile=/etc/sysconfig/node_exporter
ExecStart=/usr/sbin/node_exporter --web.systemd-socket $OPTIONS
[Install]
WantedBy=multi-user.target