Sha256: 316bad28a2c3528689de6d22b501fc3630b5c3c53c71b2f9e1c24be9a0032d0d

Contents?: true

Size: 520 Bytes

Versions: 23

Compression:

Stored size: 520 Bytes

Contents

#!/bin/bash
# Entrypoint script for dockerized right_chimp

first_arg=$1
operation=$*

case "$first_arg" in
  chimpd)
    chimp_operation="$operation --bind-address=0.0.0.0"
    echo "Executing chimpd operation: '$chimp_operation'"
    $chimp_operation
    ;;
  chimp)
    chimp_operation="$operation"
    echo "Executing chimp operation: '$chimp_operation'"
    $chimp_operation
    ;;
  *)
    echo "Error: Requested operation '$operation' does not appear to be a 'chimp' or 'chimpd' operation"
    exit 1
    ;;
esac

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
right_chimp-2.4 docker/right_chimp.sh
right_chimp-2.3.2 docker/right_chimp.sh
right_chimp-2.3.1 docker/right_chimp.sh
right_chimp-2.3 docker/right_chimp.sh
right_chimp-2.2.2 docker/right_chimp.sh
right_chimp-2.2.1 docker/right_chimp.sh
right_chimp-2.2 docker/right_chimp.sh
right_chimp-2.1.28 docker/right_chimp.sh
right_chimp-2.1.27 docker/right_chimp.sh
right_chimp-2.1.26 docker/right_chimp.sh
right_chimp-2.1.25.2 docker/right_chimp.sh
right_chimp-2.1.25 docker/right_chimp.sh
right_chimp-2.1.24 docker/right_chimp.sh
right_chimp-2.1.22.2 docker/right_chimp.sh
right_chimp-2.1.22.1 docker/right_chimp.sh
right_chimp-2.1.22 docker/right_chimp.sh
right_chimp-2.1.21 docker/right_chimp.sh
right_chimp-2.1.19.1 docker/right_chimp.sh
right_chimp-2.1.19 docker/right_chimp.sh
right_chimp-2.1.18 docker/right_chimp.sh