mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-23 00:46:08 +01:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||
|
<plist version="1.0">
|
||
|
<dict>
|
||
|
<key>Label</key>
|
||
|
<string>io.prometheus.node_exporter</string>
|
||
|
<key>ProgramArguments</key>
|
||
|
<array>
|
||
|
<string>sh</string>
|
||
|
<string>-c</string>
|
||
|
<string>/usr/local/bin/node_exporter $(< /usr/local/etc/node_exporter.args)</string>
|
||
|
</array>
|
||
|
<key>UserName</key>
|
||
|
<string>nobody</string>
|
||
|
<key>GroupName</key>
|
||
|
<string>nobody</string>
|
||
|
<key>RunAtLoad</key>
|
||
|
<true/>
|
||
|
<key>KeepAlive</key>
|
||
|
<false/>
|
||
|
<key>WorkingDirectory</key>
|
||
|
<string>/usr/local</string>
|
||
|
<key>StandardErrorPath</key>
|
||
|
<string>/tmp/node_exporter.log</string>
|
||
|
<key>StandardOutPath</key>
|
||
|
<string>/tmp/node_exporter.log</string>
|
||
|
<key>HardResourceLimits</key>
|
||
|
<dict>
|
||
|
<key>NumberOfFiles</key>
|
||
|
<integer>4096</integer>
|
||
|
</dict>
|
||
|
<key>SoftResourceLimits</key>
|
||
|
<dict>
|
||
|
<key>NumberOfFiles</key>
|
||
|
<integer>4096</integer>
|
||
|
</dict>
|
||
|
</dict>
|
||
|
</plist>
|