diff options
author | Your Name <you@example.com> | 2013-02-14 12:18:53 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2013-02-14 12:18:53 +0000 |
commit | 027a03a57ac2aeb2e4c70c1d3b1cf8ecfccc8107 (patch) | |
tree | d26e05cad064a2199fe43bc1c94762be5a717acb | |
parent | 95b7ed88ea2ffea100ed558e71cea1d3ff86ab96 (diff) | |
parent | 6722589766e34218dd8d4366edbab4e23f252391 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
-rwxr-xr-x | services/bin/update-services-pubkeys | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/bin/update-services-pubkeys b/services/bin/update-services-pubkeys index 6a658607..9936c402 100755 --- a/services/bin/update-services-pubkeys +++ b/services/bin/update-services-pubkeys @@ -1,5 +1,3 @@ #!/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 +ssh $1 -t "cd ${KREBS_ROOT};git pull origin master;sudo -u services make -C $KREBS_ROOT/services ssh_authorized_keys" |