fix: filename changes

main
Ricard Illa 2023-05-08 16:30:51 +00:00
parent 734b965e12
commit 218a9fc116
1 changed files with 3 additions and 4 deletions

View File

@ -28,11 +28,9 @@ KEY=$(CERT_PATH)/$(DOMAIN).key
$(CERT): $(SYNC_CERTS)
$(KEY): $(SYNC_CERTS)
RSYNCD_HOST=narwhal
RSYNCD_HOST=10.0.24.106
RSYNCD_USER=user
GOPASS=doas -u gopass gopass
RSYNC_PASSWORD = $(shell $(GOPASS) $(RSYNCD_HOST)/rsyncd/$(RSYNCD_USER))
RSYNCD_PASSWORD=/srv/secrets/rsyncd_password
REMOTE_ACME_PATH=rsync://$(RSYNCD_USER)@$(RSYNCD_HOST)/acme
RSYNC_OPTS=--archive --delete --compress --verbose --human-readable
@ -42,6 +40,7 @@ sync_certs:
@echo "running rsync"
@export RSYNC_PASSWORD=$(RSYNC_PASSWORD); \
rsync \
--password-file $(RSYNCD_PASSWORD) \
$(RSYNC_OPTS) \
$(REMOTE_ACME_PATH) \
$(ACME_DIR)