From 7167e1f1b8d010416b7a7721c967a306887320b8 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 9 Nov 2019 13:56:15 -0500 Subject: Makefile: Update prd-install. Set owner:group of /var/www/nfsw and the virtualenv directory to _nfsw:wheel. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a2638ea..ef5a1d5 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,9 @@ prd-install: scp dist/${PRD_WHEEL} \ root@${PRD_HOST}:/var/www/nfsw/wheel/ ssh root@${PRD_HOST} \\". ${VENV_DIR}-prd/bin/activate \ - && pip install /var/www/nfsw/wheel/${PRD_WHEEL} \\" + && pip install /var/www/nfsw/wheel/${PRD_WHEEL} \ + && chown -R _nfsw:wheel ${VENV_DIR}-prd \ + && chown -R _nfsw:wheel /var/www/nfsw/ \\" .PHONY: prd-install rcd: -- cgit v1.2.3