From d48960a30ac69b5ed65b00784199be24cbb37ce4 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 9 Nov 2019 13:58:31 -0500 Subject: Makefile: Update rcd. Copy over the nfsw.ini file and set it's permission to 444. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 4da0c18..e789554 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ VENV_CMD=virtualenv-3 JSHINT=~/.npm-packages/bin/jshint PRD_HOST=cygnus PRD_WHEEL=nfsw-0.1.0.dev1-py3-none-any.whl +UWSGI_INI=etc/uwsgi/nfsw.ini RC_D=etc/rc.d/nfsw dunno: @@ -86,8 +87,11 @@ prd-uninstall: rcd: + ssh root@${PRD_HOST} mkdir -p -m 755 /etc/uwsgi + scp ${UWSGI_INI} root@${PRD_HOST}:/${UWSGI_INI} scp ${RC_D} root@${PRD_HOST}:/${RC_D} ssh root@${PRD_HOST} chmod 555 /${RC_D} + ssh root@${PRD_HOST} chmod 444 /${UWSGI_INI} ssh root@${PRD_HOST} chown root:wheel /${RC_D} .PHONY: rcd -- cgit v1.2.3