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.
14 lines
310 B
14 lines
310 B
[Unit]
|
|
Description=Node Exporter
|
|
Requires=node_exporter.socket
|
|
|
|
[Service]
|
|
User=node_exporter
|
|
# Fallback when environment file does not exist
|
|
Environment=OPTIONS=
|
|
EnvironmentFile=-/etc/sysconfig/node_exporter
|
|
ExecStart=/usr/sbin/node_exporter --web.systemd-socket $OPTIONS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|