diff options
| author | makefu <root@pigstarter.de> | 2013-02-26 12:18:52 +0000 |
|---|---|---|
| committer | makefu <root@pigstarter.de> | 2013-02-26 12:18:52 +0000 |
| commit | ef4eb3189363f5cd9a33b43693322a68d3142979 (patch) | |
| tree | 683df8268baae71451633518aa7ff7ea258a4aa8 /services/bin | |
| parent | e2369060a397e8dad82a2dfcc63c81df1e08a983 (diff) | |
| parent | 001bfd5f2b6890cafd209de4ea360927d4dd8a55 (diff) | |
Merge branch 'master' of https://github.com/krebscode/painload
Conflicts:
minikrebs
Diffstat (limited to 'services/bin')
| -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" |
