ansible-ffibk/roles/service-dhcpd/templates/kea-exporter.service.j2
2019-05-31 13:45:16 +02:00

15 lines
278 B
Django/Jinja

[Unit]
Description=Kea Prometheus Exporter
Wants=network.target
After=network.target
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/bin/kea-exporter --address 127.0.0.1 /etc/kea/kea-dhcp4.conf
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target