Added support for multiple collabs to clarified::probe

This commit is contained in:
Ossi Salmi 2011-02-25 01:05:33 +02:00 committed by Timo Mkinen
parent 3af6b4f0f7
commit 61b1501079
2 changed files with 15 additions and 3 deletions

View file

@ -27,8 +27,11 @@ PORT=<%= remoteport %>
. /etc/clarified/clarified-functions
start() {
start_remote -p $PORT -c '<%= collab %>' "$WORK_DIR" "$PRIVATE_CERT" "$PUBLIC_CERT"
start_remote \
<% collab.each do |c| -%>
-c '<%= c %>' \
<% end -%>
-p $PORT "$WORK_DIR" "$PRIVATE_CERT" "$PUBLIC_CERT"
#LOG_SUCCESS "Remote" $REMOTE_IDENT "up"
}