15 lines
304 B
Django/Jinja
15 lines
304 B
Django/Jinja
[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
|