First commit
This commit is contained in:
11
cert_check.service
Normal file
11
cert_check.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Check SSL Certificates
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=CERT_DATE_FORMAT="%%b%%e %%H:%%M:%%S %%Y GMT"
|
||||
Environment=CERT_BASE_PATH=/etc/letsencrypt/live
|
||||
Environment=CERT_FILE_NAME=cert.pem
|
||||
Environment=THRESHOLD_DAYS=30
|
||||
Environment=NOTIFY_URL=$NTFY_URL/TOPIC
|
||||
ExecStart=/usr/local/bin/certcheckntfy
|
||||
Reference in New Issue
Block a user