systemd-service-file added

master
Denis Knauf 2022-03-16 21:36:26 +01:00
parent 18ba590bde
commit 94d241c6f1
1 changed files with 12 additions and 0 deletions

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