diff options
Diffstat (limited to 'app-metrics/exabgp_exporter/files/exabgp_exporter_at.service')
-rw-r--r-- | app-metrics/exabgp_exporter/files/exabgp_exporter_at.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-metrics/exabgp_exporter/files/exabgp_exporter_at.service b/app-metrics/exabgp_exporter/files/exabgp_exporter_at.service new file mode 100644 index 000000000000..17b13f089611 --- /dev/null +++ b/app-metrics/exabgp_exporter/files/exabgp_exporter_at.service @@ -0,0 +1,14 @@ +[Unit] +Description=Prometheus exporter for exabgp instance %i +Documentation=https://github.com/lusis/exabgp_exporter/blob/master/README.md + +[Install] +WantedBy=multi-user.target + +[Service] +EnvironmentFile=-/etc/systemd/system/exabgp_exporter@%i.service.env +Environment=command_args="standalone" +TimeoutStartSec=0 +Restart=always +RestartSec=5s +ExecStart=/usr/bin/exabgp_exporter $command_args |