Added role cleanup-certs based on certreap

This commit is contained in:
2025-05-07 06:38:07 +02:00
parent 9575ee31ff
commit 7afa368594
7 changed files with 99 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Detect, revoke, and delete unused Let's Encrypt certificates based on active NGINX configuration files.
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot
ExecStartPre=/bin/sh -c '/usr/bin/python certreap --force'