Use exec -a in the FHS compliant script (#17513)

tokarchuk/v1.17
zeripath 3 years ago committed by GitHub
parent 118fbd9436
commit a5bcf1994f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contrib/fhs-compliant-script/gitea

@ -37,6 +37,6 @@ if [ -z "$APP_INI_SET" ]; then
fi fi
# Provide FHS compliant defaults to # Provide FHS compliant defaults to
GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" "$GITEA" $CONF_ARG "$@" exec -a "$0" GITEA_WORK_DIR="${GITEA_WORK_DIR:-$WORK_DIR}" "$GITEA" $CONF_ARG "$@"

Loading…
Cancel
Save