From bea87b705d6089d805b068113ef8b8c7a097be17 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 16 Nov 2019 17:47:38 -0500 Subject: Makefile: Update prd-rcd. --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b2ade15..4e568e8 100644 --- a/Makefile +++ b/Makefile @@ -123,11 +123,12 @@ prd-rcd: ssh root@${PRD_HOST} mkdir -p -m 755 /etc/uwsgi rsync ${UWSGI_INI} root@${PRD_HOST}:/${UWSGI_INI} rsync ${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} - ssh root@${PRD_HOST} rcctl enable nfsw redis - ssh root@${PRD_HOST} rcctl start nfsw redis + ssh root@${PRD_HOST} \\"chmod 555 /${RC_D} \ + && chmod 444 /${UWSGI_INI} \ + && chown root:wheel /${RC_D} \ + && rcctl enable nfsw redis \ + && rcctl start nfsw redis \ + && git -C /etc add rc.conf.local rc.d/nfsw uwsgi/\\" .PHONY: prd-rcd prd-rr: -- cgit v1.2.3