mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-21 17:23:06 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
parent
fba4f5cde8
commit
cde29fb6f4
@ -59,7 +59,6 @@ printf '%s\n' "# - - - Initializing $SERVICE_NAME - - - #"
|
|||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Custom functions
|
# Custom functions
|
||||||
__gen_auth_token() {
|
__gen_auth_token() {
|
||||||
set -x
|
|
||||||
local user conf_file auth_token token_dir gitea_bin exitCode
|
local user conf_file auth_token token_dir gitea_bin exitCode
|
||||||
exitCode=1
|
exitCode=1
|
||||||
user="${GITEA_USER:-git}"
|
user="${GITEA_USER:-git}"
|
||||||
@ -79,7 +78,6 @@ __gen_auth_token() {
|
|||||||
echo "$auth_token"
|
echo "$auth_token"
|
||||||
echo "$auth_token" >"$CONF_DIR/tokens/system"
|
echo "$auth_token" >"$CONF_DIR/tokens/system"
|
||||||
fi
|
fi
|
||||||
set +x
|
|
||||||
return $exitCode
|
return $exitCode
|
||||||
}
|
}
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
Loading…
Reference in New Issue
Block a user