From eaba13c121da450bf2022c7e83440d5265fd6f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 Mar 2023 23:11:08 +0200 Subject: [PATCH] Fix --- conf/production.yaml | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/production.yaml b/conf/production.yaml index 1ef6d43..8306eae 100644 --- a/conf/production.yaml +++ b/conf/production.yaml @@ -47,7 +47,7 @@ database: hostname: 'localhost' port: 5432 ssl: false - suffix: '' + suffix: '__DB_NAME__' username: '__DB_USER__' password: '__DB_PWD__' pool: diff --git a/scripts/install b/scripts/install index c1fd499..7bd1c7c 100644 --- a/scripts/install +++ b/scripts/install @@ -16,6 +16,7 @@ source /usr/share/yunohost/helpers admin_mail=$(ynh_user_get_info --username=$admin --key="mail") admin_pass=$(ynh_string_random --length=24) secrets_peertube=$(ynh_string_random --length=24) +db_name=$(peertube_$app) # Define app's data directory #REMOVEME? data_dir="/home/yunohost.app/${app}/storage"