feat: tigger fugu's acme_refresh remotely
parent
bf8d1baa5f
commit
6654ad0731
|
@ -1,10 +1,10 @@
|
||||||
WD=/var/lib/dags/acme_renew
|
WD=/var/lib/dags/acme_renew
|
||||||
|
|
||||||
.PHONY: all refresh_pg renew_certs caladan_sync fugu_sync caladan_trigger
|
.PHONY: all refresh_pg renew_certs caladan_sync fugu_sync caladan_trigger fugu_trigger
|
||||||
|
|
||||||
NGINX_RELOAD=$(WD)/nginx_reload
|
NGINX_RELOAD=$(WD)/nginx_reload
|
||||||
|
|
||||||
all: renew_certs caladan_trigger $(NGINX_RELOAD) refresh_pg
|
all: renew_certs caladan_trigger fugu_trigger $(NGINX_RELOAD) refresh_pg
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
@ -71,6 +71,9 @@ fugu_sync: renew_certs
|
||||||
caladan_trigger: caladan_sync
|
caladan_trigger: caladan_sync
|
||||||
ssh -i $(SSH_KEY) dags@caladan "doas make -C /srv/dags/caladan/acme_refresh"
|
ssh -i $(SSH_KEY) dags@caladan "doas make -C /srv/dags/caladan/acme_refresh"
|
||||||
|
|
||||||
|
fugu_trigger: fugu_sync
|
||||||
|
ssh -i $(SSH_KEY) dags@fugu "doas gmake -C /srv/dags/fugu/acme_refresh"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Reload the nginx instance running on my reverse proxy docker-compose service
|
# Reload the nginx instance running on my reverse proxy docker-compose service
|
||||||
# so that it uses the new certificates.
|
# so that it uses the new certificates.
|
||||||
|
|
Loading…
Reference in New Issue