From f068c5b81d7e9a90eb022ac708604bd699b8a444 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 9 May 2023 10:23:49 +0200 Subject: [PATCH] feat: pikvm_trigger --- narwhal/acme_renew/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/narwhal/acme_renew/Makefile b/narwhal/acme_renew/Makefile index f2e0319..0112b0a 100644 --- a/narwhal/acme_renew/Makefile +++ b/narwhal/acme_renew/Makefile @@ -1,10 +1,10 @@ WD=/var/lib/dags/acme_renew -.PHONY: all refresh_pg renew_certs caladan_sync fugu_sync pikvm_sync caladan_trigger fugu_trigger +.PHONY: all refresh_pg renew_certs caladan_sync fugu_sync pikvm_sync caladan_trigger fugu_trigger pivkm_trigger NGINX_RELOAD=$(WD)/nginx_reload -all: renew_certs caladan_trigger fugu_trigger $(NGINX_RELOAD) refresh_pg +all: renew_certs caladan_trigger fugu_trigger pikvm_trigger $(NGINX_RELOAD) refresh_pg ############################################################################### @@ -88,6 +88,9 @@ caladan_trigger: caladan_sync fugu_trigger: fugu_sync ssh -i $(SSH_KEY) dags@fugu "doas gmake -C /srv/dags/fugu/acme_refresh" +pikvm_trigger: pikvm_sync + ssh -i $(SSH_KEY) dags@pikvm "doas /srv/dags/pikvm/acme_refresh/run.sh" + ############################################################################### # Reload the nginx instance running on my reverse proxy docker-compose service # so that it uses the new certificates.