|
@ -36,6 +36,14 @@ case "$1" in |
|
|
exec /usr/bin/weed $@ $ARGS |
|
|
exec /usr/bin/weed $@ $ARGS |
|
|
;; |
|
|
;; |
|
|
|
|
|
|
|
|
|
|
|
's3') |
|
|
|
|
|
ARGS="-domainName \"$S3_DOMAIN_NAME\" -key.file \"$S3_KEY_FILE\" -cert.file \"$S3_CERT_FILE\"" |
|
|
|
|
|
if [ -n "$FILER_PORT_8888_TCP_ADDR" ] ; then |
|
|
|
|
|
ARGS="$ARGS -filer=$FILER_PORT_8888_TCP_ADDR:$FILER_PORT_8888_TCP_PORT" |
|
|
|
|
|
fi |
|
|
|
|
|
exec /usr/bin/weed $@ $ARGS |
|
|
|
|
|
;; |
|
|
|
|
|
|
|
|
*) |
|
|
*) |
|
|
exec /usr/bin/weed $@ |
|
|
exec /usr/bin/weed $@ |
|
|
;; |
|
|
;; |
|
|