diff options
author | rsiddharth <s@ricketyspace.net> | 2019-11-16 17:47:38 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-11-16 17:47:38 -0500 |
commit | bea87b705d6089d805b068113ef8b8c7a097be17 (patch) | |
tree | 758ee150b32e3e4b0190ad0185f9d7b99599ce62 /Makefile | |
parent | 89582d9ebaafc5bbe6363c5c36b796042f18a8f2 (diff) |
Makefile: Update prd-rcd.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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: |