diff options
author | rsiddharth <s@ricketyspace.net> | 2019-11-09 13:56:15 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-11-09 13:56:15 -0500 |
commit | 7167e1f1b8d010416b7a7721c967a306887320b8 (patch) | |
tree | 97dcf02268fae0918b95d8b29b574c5855d647fd /Makefile | |
parent | 76340dc4e21a81158271657c5778cab2f943d9e5 (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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: |