12 lines
256 B
Plaintext
12 lines
256 B
Plaintext
|
[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
|