lxc-exporter/lxc-exporter.service.erb

12 lines
256 B
Plaintext
Raw Normal View History

2023-10-13 23:17:59 +02:00
[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