systemd-service template added
This commit is contained in:
parent
e225cc96db
commit
029f011f40
11
lxc-exporter.service.erb
Normal file
11
lxc-exporter.service.erb
Normal 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
|
Loading…
Reference in a new issue