systemd-service template added

This commit is contained in:
Denis Knauf 2023-10-13 23:17:59 +02:00
parent e225cc96db
commit 029f011f40

11
lxc-exporter.service.erb Normal file
View file

@ -0,0 +1,11 @@
[Unit]
Description=Prometheus lxc-exporter for getting container health
[Service]
Restart=always
User=prometheus
WorkingDirectory=<%= Dir.pwd %>
ExecStart=<%= `which bundle`.chomp %> exec puma -b tcp://localhost:9124
[Install]
WantedBy=multi-user.target