1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
Éric Gaspar 2023-03-27 23:11:08 +02:00
parent a5140f22c8
commit eaba13c121
2 changed files with 2 additions and 1 deletions

View file

@ -47,7 +47,7 @@ database:
hostname: 'localhost' hostname: 'localhost'
port: 5432 port: 5432
ssl: false ssl: false
suffix: '' suffix: '__DB_NAME__'
username: '__DB_USER__' username: '__DB_USER__'
password: '__DB_PWD__' password: '__DB_PWD__'
pool: pool:

View file

@ -16,6 +16,7 @@ source /usr/share/yunohost/helpers
admin_mail=$(ynh_user_get_info --username=$admin --key="mail") admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
admin_pass=$(ynh_string_random --length=24) admin_pass=$(ynh_string_random --length=24)
secrets_peertube=$(ynh_string_random --length=24) secrets_peertube=$(ynh_string_random --length=24)
db_name=$(peertube_$app)
# Define app's data directory # Define app's data directory
#REMOVEME? data_dir="/home/yunohost.app/${app}/storage" #REMOVEME? data_dir="/home/yunohost.app/${app}/storage"