🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/08-gitea.sh
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay 2024-08-12 18:58:29 -04:00
parent 7d896d5e3e
commit d1b7bde068
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 5 additions and 3 deletions

View File

@ -109,7 +109,7 @@ SERVICE_GROUP="gitea" # Set the service group
# execute command variables - keep single quotes variables will be expanded later # execute command variables - keep single quotes variables will be expanded later
EXEC_CMD_BIN='gitea' # command to execute EXEC_CMD_BIN='gitea' # command to execute
EXEC_CMD_ARGS='web ' # command arguments EXEC_CMD_ARGS='web ' # command arguments
EXEC_CMD_ARGS+='--port $SERVICE_PORT --config $CONF_DIR/app.ini ' # command arguments EXEC_CMD_ARGS+='--port $SERVICE_PORT --config $ETC_DIR/app.ini ' # command arguments
EXEC_CMD_ARGS+='--custom-path $CONF_DIR/custom --work-path $DATA_DIR ' # command arguments EXEC_CMD_ARGS+='--custom-path $CONF_DIR/custom --work-path $DATA_DIR ' # command arguments
EXEC_PRE_SCRIPT='' # execute script before EXEC_PRE_SCRIPT='' # execute script before
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -264,7 +264,7 @@ __update_conf_files() {
# define actions # define actions
[ -d " /config/ssh" ] || mkdir -p "/config/ssh" [ -d " /config/ssh" ] || mkdir -p "/config/ssh"
[ -d "$DATA_DIR/ssh" ] || mkdir -p "$DATA_DIR/ssh" [ -d "$DATA_DIR/ssh" ] || mkdir -p "$DATA_DIR/ssh"
[ "$COPY_SSHD_CONF" = "yes" ] && Copy "/etc/ssh/sshd_config" "/config/ssh/" [ "$COPY_SSHD_CONF" = "yes" ] && copy "/etc/ssh/sshd_config" "/config/ssh/"
if [ ! -f /config/ssh/ssh_host_ed25519_key ]; then if [ ! -f /config/ssh/ssh_host_ed25519_key ]; then
echo "Generating /config/ssh/ssh_host_ed25519_key..." echo "Generating /config/ssh/ssh_host_ed25519_key..."
ssh-keygen -t ed25519 -f /config/ssh/ssh_host_ed25519_key -N "" >/dev/null && ssh-keygen -t ed25519 -f /config/ssh/ssh_host_ed25519_key -N "" >/dev/null &&

View File

@ -191,7 +191,9 @@ __execute_prerun() {
__init_config_etc __init_config_etc
# Define other actions/commands # Define other actions/commands
while :; do
pgrep gitea && break || { echo "Waiting for gitea to start before continuing" >&2 && sleep 60; }
done
} }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Run any pre-execution checks # Run any pre-execution checks