lxc-exporter/lxc-exporter.service.erb
2023-10-13 23:45:30 +02:00

17 lines
443 B
Text

[Unit]
Description=Prometheus lxc-exporter for getting container health
Documentation=https://git.denkn.at/deac/lxc-exporter
After=network-online.target
[Service]
Type=notify
KillMode=mixed
WatchdogSec=10
Restart=always
User=prometheus
WorkingDirectory=<%= Dir.pwd %>
ExecStart=<%= `which bundle`.chomp %> exec puma -b tcp://[::]:9124 -e production --tag lxc-exporter
ExecReload=/bin/kill -USR1 $MAINPID
[Install]
WantedBy=multi-user.target