puppet-prod/modules/exporters/templates/frr_exporter.service.erb
Ben Vincent 9deeacce22
All checks were successful
Build / precommit (pull_request) Successful in 4m56s
feat: add frr_exporter class
- add frr exporter to all nodes running frr
2025-08-03 15:47:06 +10:00

16 lines
324 B
Plaintext

[Unit]
Description=Prometheus frr_exporter
Wants=network-online.target
After=network-online.target
[Service]
User=<%= @user %>
Group=<%= @group %>
ExecStart=<%= @exec_path %> --frr.socket.dir-path="<%= @socket_dir %>"
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target