mirror of
https://github.com/YunoHost-Apps/gitlist_ynh.git
synced 2024-09-03 18:36:18 +02:00
Fix
This commit is contained in:
parent
15dbdc80f3
commit
77d274ca28
3 changed files with 5 additions and 3 deletions
|
@ -1,2 +1 @@
|
|||
APP_SECRET=__KEY__
|
||||
DEFAULT_REPOSITORY_DIR=__DATADIR__
|
|
@ -1,7 +1,7 @@
|
|||
# GitList configuration
|
||||
parameters:
|
||||
# Web application title
|
||||
title: GitList
|
||||
title: YunoHost
|
||||
|
||||
# Locale configuration
|
||||
locale: en
|
||||
|
|
|
@ -121,10 +121,13 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
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"
|
||||
|
||||
chmod 400 "$final_path/.env"
|
||||
chmod 650 "$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
|
||||
|
|
Loading…
Add table
Reference in a new issue