1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kimai2_ynh.git synced 2024-09-03 19:26:26 +02:00
This commit is contained in:
Éric Gaspar 2023-11-02 21:37:28 +01:00
parent 1fa0ad1f4c
commit 37313b8a22
3 changed files with 4 additions and 5 deletions

View file

@ -25,7 +25,7 @@ DATABASE_URL=mysql://__DB_USER__:__DB_PWD__@127.0.0.1:3306/__DB_NAME__?charset=u
# The full documentation can be found at https://www.kimai.org/documentation/emails.html
#
# Email will be sent with this address as sender:
MAILER_FROM=admin@__DOMAIN__
MAILER_FROM=__APP__@__DOMAIN__
# Email connection (disabled by default) - see documentation for the format
MAILER_URL="smtp://__APP__:__MAIL_PWD__@127.0.0.1:25?encryption=&auth_mode="

View file

@ -6,7 +6,7 @@
# PHP APP SPECIFIC
#=================================================
YNH_COMPOSER_VERSION=2.3.3
YNH_COMPOSER_VERSION=2.6.5
#=================================================
# PERSONAL HELPERS

View file

@ -20,7 +20,6 @@ random_key=$(ynh_string_random --length=32)
#=================================================
ynh_script_progression --message="Storing installation settings..." --weight=1
ynh_app_setting_set --app=$app --key=registration --value=$registration
ynh_app_setting_set --app=$app --key=random_key --value=$random_key
#=================================================
@ -75,13 +74,13 @@ else
registration="false"
fi
ynh_add_config --template="../conf/local.yaml" --destination="$install_dir/config/packages/local.yaml"
ynh_add_config --template="local.yaml" --destination="$install_dir/config/packages/local.yaml"
chmod 400 "$install_dir/config/packages/local.yaml"
chown $app:$app "$install_dir/config/packages/local.yaml"
# Configure environement
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
ynh_add_config --template=".env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"