You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gitea 580B

123456789101112131415
  1. #!/bin/bash
  2. ###############################################################
  3. # This script sets defaults for gitea to run in the container #
  4. ###############################################################
  5. # It assumes that you place this script as gitea in /usr/local/bin
  6. #
  7. # And place the original in /usr/lib/gitea with working files in /data/gitea
  8. GITEA="/app/gitea/gitea"
  9. WORK_DIR="/app/gitea"
  10. CUSTOM_PATH="/data/gitea"
  11. # Provide docker defaults
  12. GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" GITEA_CUSTOM="${GITEA_CUSTOM:-$CUSTOM_PATH}" exec -a "$0" "$GITEA" $CONF_ARG "$@"