1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leantime_ynh.git synced 2024-09-03 19:36:04 +02:00
This commit is contained in:
Éric Gaspar 2023-12-02 16:43:45 +01:00
parent 076f54ff76
commit 5449e22711
4 changed files with 7 additions and 4 deletions

View file

@ -19,8 +19,11 @@ code = "https://github.com/Leantime/leantime"
yunohost = ">= 11.2" yunohost = ">= 11.2"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = true ldap = true
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "50M" ram.build = "50M"
ram.runtime = "50M" ram.runtime = "50M"

View file

@ -24,7 +24,7 @@ ynh_change_url_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/.env" --destination="$install_dir/config/.env" ynh_add_config --template=".env" --destination="$install_dir/config/.env"
chmod 400 "$install_dir/config/.env" chmod 400 "$install_dir/config/.env"
chown $app:$app "$install_dir/config/.env" chown $app:$app "$install_dir/config/.env"

View file

@ -31,7 +31,7 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
# Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf # Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf
ynh_add_fpm_config --usage=low --footprint=low ynh_add_fpm_config
# Create a dedicated NGINX config using the conf/nginx.conf template # Create a dedicated NGINX config using the conf/nginx.conf template
ynh_add_nginx_config ynh_add_nginx_config
@ -43,7 +43,7 @@ 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/.env" --destination="$install_dir/config/.env" ynh_add_config --template=".env" --destination="$install_dir/config/.env"
chmod 400 "$install_dir/config/.env" chmod 400 "$install_dir/config/.env"
chown $app:$app "$install_dir/config/.env" chown $app:$app "$install_dir/config/.env"

View file

@ -33,7 +33,7 @@ chown -R $app:www-data "$install_dir"
#================================================= #=================================================
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
ynh_add_fpm_config --usage=low --footprint=low ynh_add_fpm_config
ynh_add_nginx_config ynh_add_nginx_config