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

19 lines
421 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]
2023-06-13 18:02:06 +00:00
EnvironmentFile=-/etc/conf.d/prometheus-x509-certificate-exporter
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