1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/umami_ynh.git synced 2024-10-01 13:34:50 +02:00
This commit is contained in:
Éric Gaspar 2022-06-27 14:24:02 +02:00
parent f5da82f804
commit b5cb83f5ea
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 6 deletions

View file

@ -56,9 +56,9 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_backup --src_path="/etc/systemd/system/$app.service"
#=================================================
# BACKUP THE POSTGRESQL DATABASE
# BACKUP THE DATABASE
#=================================================
ynh_print_info --message="Backing up the PostgreSQL database..."
ynh_print_info --message="Backing up the database..."
ynh_psql_dump_db --database="$db_name" > db.sql

View file

@ -27,7 +27,6 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC
salt=$(ynh_string_random --length=16)
app=$YNH_APP_INSTANCE_NAME
@ -122,8 +121,8 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
#chmod 650 "$final_path/.env"
#chown $app:$app "$final_path/.env"
chmod 650 "$final_path/.env"
chown $app:$app "$final_path/.env"
#=================================================
# CONFIGURE THE APP

View file

@ -20,7 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path)
port=$(ynh_app_setting_get --app=$app --key=port)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
#=================================================
# CHECK VERSION