1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlist_ynh.git synced 2024-09-03 18:36:18 +02:00
This commit is contained in:
Éric Gaspar 2023-01-29 15:50:55 +01:00
parent 15dbdc80f3
commit 77d274ca28
3 changed files with 5 additions and 3 deletions

View file

@ -1,2 +1 @@
APP_SECRET=__KEY__ APP_SECRET=__KEY__
DEFAULT_REPOSITORY_DIR=__DATADIR__

View file

@ -1,7 +1,7 @@
# GitList configuration # GitList configuration
parameters: parameters:
# Web application title # Web application title
title: GitList title: YunoHost
# Locale configuration # Locale configuration
locale: en locale: en

View file

@ -121,10 +121,13 @@ ynh_add_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml"
ynh_add_config --template="../conf/.env" --destination="$final_path/.env" ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
chmod 400 "$final_path/.env" chmod 650 "$final_path/.env"
chown $app:$app "$final_path/.env" chown $app:$app "$final_path/.env"
chmod 650 "$final_path/config/config.yml"
chown $app:$app "$final_path/config/config.yml"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT