aboutsummaryrefslogtreecommitdiff
path: root/templates/blackbox_exporter.runit
blob: 115bc7bc8a04aa90ccb376eb6f4fcc2a5f3000dc (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
exec 3>>{{blackbox_exporter_log}} 2>&3 1>&3
exec chpst -u {{prometheus_user}} \
	{{prometheus_home_dir}}/blackbox_exporter/blackbox_exporter \
	{{blackbox_exporter_opts | replace('\n', ' ')}} \