summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-11-16 17:47:38 -0500
committerrsiddharth <s@ricketyspace.net>2019-11-16 17:47:38 -0500
commitbea87b705d6089d805b068113ef8b8c7a097be17 (patch)
tree758ee150b32e3e4b0190ad0185f9d7b99599ce62
parent89582d9ebaafc5bbe6363c5c36b796042f18a8f2 (diff)
Makefile: Update prd-rcd.
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
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: