bunkerweb/jobs/CertbotRenew.py
2021-07-20 22:52:01 +02:00

10 lines
336 B
Python

from Job import Job
class CertbotRenew(Job) :
def __init__(self, redis_host=None, copy_cache=False) :
name = "certbot-renew"
data = ["certbot", "renew", "--deploy-hook", "/opt/bunkerized-nginx/jobs/reload.py"]
type = "exec"
super().__init__(name, data, filename=None, redis_host=redis_host, type=type, copy_cache=copy_cache)