prometheus-x509-certificate.../systemd.service

19 lines
422 B
SYSTEMD
Raw Normal View History

2023-06-13 16:58:53 +00:00
[Unit]
Description=Prometheus exporter for x509 certificate metrics
Requires=network-online.target
After=network-online.target
[Service]
EnvironmentFile=/etc/conf.d/prometheus-x509-certificate-exporter
2023-06-13 17:18:32 +00:00
ExecStart=/usr/bin/prometheus-x509-certificate-exporter ${EXTRA_ARGS}
2023-06-13 16:58:53 +00:00
ExecReload=/bin/kill -HUP $MAINPID
User=root
Group=root
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target