first commit
This commit is contained in:
14
templates/node_exporter.service.j2
Normal file
14
templates/node_exporter.service.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Node Exporter Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=nodeusr
|
||||
Group=nodeusr
|
||||
Type=simple
|
||||
ExecStart={{ NE_bin_path }} --web.listen-address={{ NE_host }}:{{ NE_port }} {{ NE_options }}
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart={{ NE_restart }}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user