Skip to content

Commit

Permalink
Use exec -a in the FHS compliant script (#17513)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeripath authored Nov 3, 2021
1 parent 118fbd9 commit a5bcf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/fhs-compliant-script/gitea
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ if [ -z "$APP_INI_SET" ]; then
fi

# 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 "$@"


0 comments on commit a5bcf19

Please sign in to comment.