diff options
| author | Your Name <you@example.com> | 2013-02-14 12:14:07 +0000 |
|---|---|---|
| committer | Your Name <you@example.com> | 2013-02-14 12:14:07 +0000 |
| commit | 95b7ed88ea2ffea100ed558e71cea1d3ff86ab96 (patch) | |
| tree | d58cd06db30761b375533dc267fbfe8caa197414 /services/bin/update-services-pubkeys | |
| parent | 4d72f073e0274949e85472b6e528be8209025887 (diff) | |
| parent | 62b197ea0604cf9d785bf67eefcf7be00daa92b9 (diff) | |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'services/bin/update-services-pubkeys')
| -rwxr-xr-x | services/bin/update-services-pubkeys | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/bin/update-services-pubkeys b/services/bin/update-services-pubkeys new file mode 100755 index 00000000..6a658607 --- /dev/null +++ b/services/bin/update-services-pubkeys @@ -0,0 +1,5 @@ +#!/bin/sh +KREBS_ROOT="${KREBS_ROOT:-/krebs}" +ssh $1 <<EOF +sh -eufc "cd $KREBS_ROOT;git pull origin master;make -C $KREBS_ROOT/services ssh_authorized_keys" +EOF |
