mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update install: php-related setting are set later, and free_fpm_footprint is a dynamic thing, doesn't make sense to define a setting for it
This commit is contained in:
parent
8dbc2e98dc
commit
4c7cbe12c6
1 changed files with 2 additions and 20 deletions
|
@ -1,35 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# GENERIC START
|
|
||||||
#=================================================
|
|
||||||
# IMPORT GENERIC HELPERS
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
source _ynh_mysql_connect_as.sh
|
source _ynh_mysql_connect_as.sh
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE SETTINGS FROM MANIFEST
|
# INIT STUFF FOR CONFIG PANEL, ETC
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
maintenance=0
|
|
||||||
fpm_footprint="high"
|
|
||||||
fpm_free_footprint=0
|
|
||||||
fpm_usage="medium"
|
|
||||||
phpflags="--define apc.enable_cli=1"
|
phpflags="--define apc.enable_cli=1"
|
||||||
|
|
||||||
#=================================================
|
ynh_app_setting_set --app=$app --key=maintenance --value=0
|
||||||
# STORE SETTINGS FROM MANIFEST
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=maintenance --value=$maintenance
|
|
||||||
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint
|
|
||||||
ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint
|
|
||||||
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
|
||||||
ynh_app_setting_set --app=$app --key=phpflags --value=$phpflags
|
ynh_app_setting_set --app=$app --key=phpflags --value=$phpflags
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=has_internet_connection --value=1
|
ynh_app_setting_set --app=$app --key=has_internet_connection --value=1
|
||||||
ynh_app_setting_set --app=$app --key=default_phone_region --value=""
|
ynh_app_setting_set --app=$app --key=default_phone_region --value=""
|
||||||
ynh_app_setting_set --app=$app --key=default_timezone --value="Europe/Paris"
|
ynh_app_setting_set --app=$app --key=default_timezone --value="Europe/Paris"
|
||||||
|
|
Loading…
Add table
Reference in a new issue