minor style improvements

main
Ricard Illa 2022-08-22 17:16:09 +02:00
parent 2a72b9ea20
commit 8f74deb406
1 changed files with 6 additions and 10 deletions

View File

@ -22,8 +22,8 @@ fetch_certs:
--info=NAME \ --info=NAME \
--password-file=$(RSYNCD_PASSWD) \ --password-file=$(RSYNCD_PASSWD) \
$(REMOTE_LETSENCRYPT_PATH) \ $(REMOTE_LETSENCRYPT_PATH) \
$(LETSENCRYPT_PATH) | \ $(LETSENCRYPT_PATH) #| \
grep . # grep .
############################################################################### ###############################################################################
# Reload the nginx instance running on my reverse proxy docker-compose service # Reload the nginx instance running on my reverse proxy docker-compose service
@ -50,15 +50,11 @@ $(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/fullchain.pem: fetch_certs
$(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/privkey.pem: fetch_certs $(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/privkey.pem: fetch_certs
$(PG_SSL_PATH)/server.crt: $(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/fullchain.pem $(PG_SSL_PATH)/server.crt: $(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/fullchain.pem
mkdir -p $(PG_SSL_PATH) mkdir -p $(@D)
rsync --copy-links \ rsync --copy-links $< $@
$(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/fullchain.pem \
$(PG_SSL_PATH)/server.crt
$(PG_SSL_PATH)/server.key: $(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/privkey.pem $(PG_SSL_PATH)/server.key: $(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/privkey.pem
mkdir -p $(PG_SSL_PATH) mkdir -p $(@D)
rsync --copy-links \ rsync --copy-links $< $@
$(LETSENCRYPT_PATH)/live/$(PG_DOMAIN)/privkey.pem \
$(PG_SSL_PATH)/server.key
refresh_pg: $(PG_SSL_PATH)/server.crt $(PG_SSL_PATH)/server.key refresh_pg: $(PG_SSL_PATH)/server.crt $(PG_SSL_PATH)/server.key