diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -19,6 +19,9 @@ ACME_CONF=etc/acme-client.conf UWSGI_INI=etc/uwsgi/nfsw.ini RC_D=etc/rc.d/nfsw +NGINX_DIR=etc/nginx +NEWSYSLOG=etc/newsyslog.conf + SSH_PUB=ssh/lyra.pub TB=bin/tball @@ -83,6 +86,17 @@ prd-httpd: .PHONY: prd-httpd +prd-nginx: + rsync -a ${NGINX_DIR}/ \ + root@${PRD_HOST}:/${NGINX_DIR} + rsync -a ${NEWSYSLOG} \ + root@${PRD_HOST}:/${NEWSYSLOG} + ssh root@${PRD_HOST} \\"rcctl enable nginx \ + && rcctl restart nginx \ + && git -C /etc add nginx rc.conf.local\\" +.PHONY: prd-nginx + + prd-acme: rsync ${ACME_CONF} root@${PRD_HOST}:/${ACME_CONF} .PHONY: prd-acme |