systemd-service-file added

This commit is contained in:
Denis Knauf 2022-03-16 21:36:26 +01:00
parent 18ba590bde
commit 94d241c6f1

View 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