blob: 8e3791f0bf3a9b9bee9bd846e0e24b771b0c3046 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[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
ExecStart=/usr/bin/prometheus-x509-certificate-exporter $EXTRA_ARGS
ExecReload=/bin/kill -HUP $MAINPID
User=root
Group=root
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
|