mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
debug values
This commit is contained in:
parent
bf1f704014
commit
c84a856fd0
1 changed files with 9 additions and 7 deletions
|
@ -12,13 +12,6 @@ source /usr/share/yunohost/helpers
|
|||
secret_key=$(ynh_string_random --length=50)
|
||||
ynh_app_setting_set --app=$app --key=secret_key --value=$secret_key
|
||||
|
||||
ynh_app_setting_set --app=$app --key=smtp_host --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=smtp_port --value=25
|
||||
ynh_app_setting_set --app=$app --key=smtp_user --value=$app
|
||||
ynh_app_setting_set --app=$app --key=smtp_password --value=$mail_pwd
|
||||
ynh_app_setting_set --app=$app --key=smtp_security --value=STARTTLS
|
||||
ynh_app_setting_set --app=$app --key=mail_return_path --value=$app@$domain
|
||||
ynh_app_setting_set --app=$app --key=mail_sender --value=$app@$domain
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
|
@ -34,6 +27,7 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
|
@ -59,6 +53,14 @@ ynh_add_config --template="config.local.php" --destination="$install_dir/config.
|
|||
chmod 440 "$install_dir/config.local.php"
|
||||
chown $app:$app "$install_dir/config.local.php"
|
||||
|
||||
ynh_app_setting_set --app=$app --key=smtp_host --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=smtp_port --value=25
|
||||
ynh_app_setting_set --app=$app --key=smtp_user --value=$app
|
||||
ynh_app_setting_set --app=$app --key=smtp_password --value=$mail_pwd
|
||||
ynh_app_setting_set --app=$app --key=smtp_security --value=STARTTLS
|
||||
ynh_app_setting_set --app=$app --key=mail_return_path --value=$app@$domain
|
||||
ynh_app_setting_set --app=$app --key=mail_sender --value=$app@$domain
|
||||
|
||||
#=================================================
|
||||
# SETUP APPLICATION WITH CURL
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue