summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-11-09 13:56:15 -0500
committerrsiddharth <s@ricketyspace.net>2019-11-09 13:56:15 -0500
commit7167e1f1b8d010416b7a7721c967a306887320b8 (patch)
tree97dcf02268fae0918b95d8b29b574c5855d647fd /Makefile
parent76340dc4e21a81158271657c5778cab2f943d9e5 (diff)
Makefile: Update prd-install.
Set owner:group of /var/www/nfsw and the virtualenv directory to _nfsw:wheel.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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: