aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorzeripath2021-11-03 08:13:07 +0000
committerGitHub2021-11-03 04:13:07 -0400
commita5bcf1994fa257a84c09e588c6f44221fc80e842 (patch)
treea6a56659343872d15a158ff18e1443539c49fbc7 /contrib
parent118fbd94365d50359181b2e4362a97c44f50bba4 (diff)
Use exec -a in the FHS compliant script (#17513)
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fhs-compliant-script/gitea2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fhs-compliant-script/gitea b/contrib/fhs-compliant-script/gitea
index 28ce651aa..019f838f9 100755
--- a/contrib/fhs-compliant-script/gitea
+++ b/contrib/fhs-compliant-script/gitea
@@ -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 "$@"