10 lines
408 B
Python
10 lines
408 B
Python
from Job import Job
|
|
|
|
class CertbotRenew(Job) :
|
|
|
|
def __init__(self, redis_host=None, copy_cache=False, domain="", email="") :
|
|
name = "certbot-new"
|
|
data = ["certbot", "certonly", "--webroot", "-w", "/opt/bunkerized-nginx/acme-challenge", "-n", "-d", domain, "--email", email, "--agree-tos"]
|
|
type = "exec"
|
|
super().__init__(name, data, filename, redis_host=redis_host, type=type, copy_cache=copy_cache)
|