Skip to content
Snippets Groups Projects
ocsp.service 304 B
Newer Older
[Unit]
Description=Get the OCSP data from the cert provider

[Service]
Type=oneshot
TimeoutStartSec=0
ExecStart=/bin/bash -euxc ' \
  for cert in `ls /data/runtime/haproxy/approved-certs/*.pem`;do \
    /data/indiehosters/utils/ocsp.sh $cert; \
  done; \
  systemctl restart haproxy; \
  rm /tmp/*.crt'