systemd-service-file added
This commit is contained in:
parent
18ba590bde
commit
94d241c6f1
12
ssh_blackbox_exporter.service.erb
Normal file
12
ssh_blackbox_exporter.service.erb
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Prometheus ssh_blackbox_exporter
|
||||||
|
Documentation=https://git.denkn.at/deac/ssh_blackbox_exporter
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
User=prometheus
|
||||||
|
WorkingDirectory=<%= Dir.pwd %>
|
||||||
|
ExecStart=<%= `which bundle`.chomp %> exec puma -b tcp://localhost:9124
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue