mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-16 15:41:11 +08:00
Use exec -a in the FHS compliant script (#17513)
This commit is contained in:
parent
118fbd9436
commit
a5bcf1994f
@ -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 "$@"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user