mirror of
https://github.com/YunoHost-Apps/openproject_ynh.git
synced 2024-09-03 19:56:10 +02:00
hotfix
This commit is contained in:
parent
6fa1c20588
commit
bead79c1db
1 changed files with 4 additions and 3 deletions
|
@ -122,11 +122,15 @@ EOF
|
||||||
|
|
||||||
ynh_store_file_checksum --file="$_openproject_install_dat"
|
ynh_store_file_checksum --file="$_openproject_install_dat"
|
||||||
|
|
||||||
|
|
||||||
|
ynh_replace_string --match_string=".*PORT=.*" --replace_string="export port=$port" --target_file="/etc/default/openproject"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A POSTGRESQL DATABASE
|
# CREATE A POSTGRESQL DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=1
|
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=1
|
||||||
|
|
||||||
|
ynh_psql_create_user "$db_user" "$db_pwd"
|
||||||
ynh_psql_create_db "$db_name" "$db_user" "$db_pwd"
|
ynh_psql_create_db "$db_name" "$db_user" "$db_pwd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -142,9 +146,6 @@ openproject configure
|
||||||
#### SETUP APPLICATION WITH CURL
|
#### SETUP APPLICATION WITH CURL
|
||||||
####=================================================
|
####=================================================
|
||||||
###
|
###
|
||||||
#### Set right permissions for curl install
|
|
||||||
###chown -R $app: $final_path
|
|
||||||
###
|
|
||||||
#### Set the app as temporarily public for curl call
|
#### Set the app as temporarily public for curl call
|
||||||
###ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
###ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
||||||
###ynh_app_setting_set --app="$app" --key=skipped_uris --value="/"
|
###ynh_app_setting_set --app="$app" --key=skipped_uris --value="/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue