1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

One letter is missing and you are stripped of everything

This commit is contained in:
tituspijean 2024-01-11 21:26:22 +00:00
parent b15e3e6ca5
commit ce63f5591e
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ ynh_change_url_nginx_config
#=================================================
ynh_script_progression --message="Modifying a config file..."
echo "$(jq -r --arg YNH_APP_NEW_DOMAIN $YNH_APP_NEW_DOMAIN --arg YNH_APP_NEW_PATH $YNH_APP_NEW_PATH ".url = \"http://$YNH_APP_NEW_DOMAIN$YNH_APP_NEW_PATH\"" $install_dir/ghost/config.production.json)" > $install_dir/ghost/config.production.json
echo "$(jq -r --arg YNH_APP_NEW_DOMAIN $YNH_APP_NEW_DOMAIN --arg YNH_APP_NEW_PATH $YNH_APP_NEW_PATH ".url = \"https://$YNH_APP_NEW_DOMAIN$YNH_APP_NEW_PATH\"" $install_dir/ghost/config.production.json)" > $install_dir/ghost/config.production.json
#=================================================
# GENERIC FINALISATION

View file

@ -36,7 +36,7 @@ pushd $install_dir
ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost install $(ynh_app_upstream_version) \
--no-prompt --no-setup-systemd --no-start \
--dir ghost --no-setup-linux-user \
--no-setup-nginx --no-setup-ssl --url http://$domain$path --port $port \
--no-setup-nginx --no-setup-ssl --url https://$domain$path --port $port \
--db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \
--mail SMTP --mailhost 127.0.0.1 --mailport 465

View file

@ -90,7 +90,7 @@ then
ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost install $(ynh_app_upstream_version) \
--no-prompt --no-setup-systemd --no-start \
--dir ghost --no-setup-linux-user \
--no-setup-nginx --no-setup-ssl --url http://$domain$path --port $port \
--no-setup-nginx --no-setup-ssl --url https://$domain$path --port $port \
--db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \
--mail SMTP --mailhost 127.0.0.1 --mailport 465
popd