This commit is contained in:
parent
fa963f32e3
commit
0a06ff5c74
@ -2,6 +2,7 @@
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
# Install root administration user account on first installation
|
||||
setup_root_user() {
|
||||
set -eu
|
||||
|
||||
@ -23,6 +24,7 @@ setup_root_user() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Pass Ansible based environment variables into the Gitea app.ini configuration
|
||||
setup_app_ini() {
|
||||
set -eu
|
||||
|
||||
@ -82,6 +84,7 @@ setup_app_ini() {
|
||||
crudini --set "$app_ini" mailer MAILER_TYPE "${SMTP_MAILER_TYPE}"
|
||||
}
|
||||
|
||||
# Main entrypoint
|
||||
main() {
|
||||
set -eu
|
||||
|
||||
|
Reference in New Issue
Block a user