diff options
author | rsiddharth <s@ricketyspace.net> | 2019-11-16 15:42:18 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-11-16 15:42:18 -0500 |
commit | 600ace4733b4394265ce0655d4acd787ebf2c7f9 (patch) | |
tree | 81f00c9fd894d9ce7a6efedece7791eb68a7d530 /Makefile | |
parent | ea2b9c37bb211ab9edb95297c4993eaa3d4a518d (diff) |
Makefile: Add prd-sk.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -19,6 +19,8 @@ ACME_CONF=etc/acme-client.conf UWSGI_INI=etc/uwsgi/nfsw.ini RC_D=etc/rc.d/nfsw +SSH_PUB=ssh/lyra.pub + dunno: @echo "Give me somepin to make" @@ -134,6 +136,11 @@ prd-rr: .PHONY: prd-reload +prd-sk: + rsync ${SSH_PUB} root@${PRD_HOST}:~/.ssh/ + ssh root@${PRD_HOST} cat ~/.ssh/${SSH_PUB} >> ~/.authorized_keys +.PHONY: prd-sk + clean: rm -rf build/ dist/ nfsw.egg-info/ find ./ -type d -name '__pycache__' -exec rm -rf {} + |