feat: refresh_acme for lb
parent
42d78fc5ed
commit
10efcb8ba8
|
@ -0,0 +1,20 @@
|
|||
WD=/var/lib/dags/acme_refresh
|
||||
|
||||
###############################################################################
|
||||
|
||||
ACME_DIR=/srv/certs/acme
|
||||
DOMAIN=monotremata.xyz
|
||||
CERT_PATH=$(ACME_DIR)/$(DOMAIN)
|
||||
FULLCHAIN=$(CERT_PATH)/fullchain.cer
|
||||
CERT=$(CERT_PATH)/$(DOMAIN).cer
|
||||
KEY=$(CERT_PATH)/$(DOMAIN).key
|
||||
|
||||
APKOVL=/media/mmcblk0p2/lb.apkovl.tar.gz
|
||||
|
||||
###############################################################################
|
||||
|
||||
$(APKOVL): $(FULLCHAIN) $(CERT) $(KEY)
|
||||
lbu add $(CERT_PATH)
|
||||
lbu commit
|
||||
|
||||
###############################################################################
|
|
@ -0,0 +1,7 @@
|
|||
dag := justfile_directory()
|
||||
|
||||
run:
|
||||
make --directory "{{dag}}"
|
||||
|
||||
render:
|
||||
make --file ../../common/render-dag.make
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
DAG=$(dirname "$0")
|
||||
make -C "$DAG"
|
Loading…
Reference in New Issue