19 lines
229 B
Bash
Executable file
19 lines
229 B
Bash
Executable file
#!/bin/ash
|
|
|
|
set -eu
|
|
|
|
. /usr/local/bin/common.sh
|
|
|
|
write_php_ini
|
|
ensure_data_dirs
|
|
run_sidecar_if_requested
|
|
|
|
install_nextcloud
|
|
upgrade_nextcloud
|
|
|
|
protect_secrets
|
|
if [ "${EXIT_AFTER_INSTALL:-0}" -eq 1 ]; then
|
|
exit 0
|
|
fi
|
|
|
|
run_server
|