mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Note to self - open your eyes BEFORE writing code
This commit is contained in:
parent
db7dcbdd1b
commit
19f09d8569
2 changed files with 3 additions and 2 deletions
|
@ -68,7 +68,7 @@ then
|
||||||
# Delete file checksum for the old conf file location
|
# Delete file checksum for the old conf file location
|
||||||
ynh_delete_file_checksum --file="$nginx_conf_path"
|
ynh_delete_file_checksum --file="$nginx_conf_path"
|
||||||
ynh_delete_file_checksum --file="$nginx_extra_conf_dir/php.conf"
|
ynh_delete_file_checksum --file="$nginx_extra_conf_dir/php.conf"
|
||||||
ynh_delete_file_checksum --file="$nginx_extra_conf_dir/code-error.conf"
|
ynh_delete_file_checksum --file="$nginx_extra_conf_dir/error-code.conf"
|
||||||
|
|
||||||
path_url="$new_path"
|
path_url="$new_path"
|
||||||
domain="$old_domain"
|
domain="$old_domain"
|
||||||
|
@ -86,7 +86,7 @@ then
|
||||||
fi
|
fi
|
||||||
if [ $custom_error_file -eq 1 ]
|
if [ $custom_error_file -eq 1 ]
|
||||||
then
|
then
|
||||||
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/code-error.conf"
|
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/error-code.conf"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ test_format = 1.0
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
args.with_sftp = "1"
|
args.with_sftp = "1"
|
||||||
|
args.custom_error_file = "0"
|
||||||
args.password = "SuperDuper_StrongPassw0rd"
|
args.password = "SuperDuper_StrongPassw0rd"
|
||||||
args.database = "none"
|
args.database = "none"
|
||||||
args.phpversion = "8.3"
|
args.phpversion = "8.3"
|
||||||
|
|
Loading…
Add table
Reference in a new issue