mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Use IPv4 for localhost servers connections
This commit is contained in:
parent
8a20d9983a
commit
a6d0fb911b
2 changed files with 4 additions and 4 deletions
|
@ -37,8 +37,8 @@ pushd $install_dir
|
||||||
--no-prompt --no-setup-systemd --no-start \
|
--no-prompt --no-setup-systemd --no-start \
|
||||||
--dir ghost --no-setup-linux-user \
|
--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 http://$domain$path --port $port \
|
||||||
--db mysql --dbhost localhost --dbuser $db_user --dbpass $db_pwd --dbname $db_name \
|
--db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \
|
||||||
--mail SMTP --mailhost localhost --mailport 465
|
--mail SMTP --mailhost 127.0.0.1 --mailport 465
|
||||||
|
|
||||||
# Cleanup cache
|
# Cleanup cache
|
||||||
ynh_secure_remove --file=".cache/yarn"
|
ynh_secure_remove --file=".cache/yarn"
|
||||||
|
|
|
@ -91,8 +91,8 @@ then
|
||||||
--no-prompt --no-setup-systemd --no-start \
|
--no-prompt --no-setup-systemd --no-start \
|
||||||
--dir ghost --no-setup-linux-user \
|
--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 http://$domain$path --port $port \
|
||||||
--db mysql --dbhost localhost --dbuser $db_user --dbpass $db_pwd --dbname $db_name \
|
--db mysql --dbhost 127.0.0.1 --dbuser $db_user --dbpass $db_pwd --dbname $db_name \
|
||||||
--mail SMTP --mailhost localhost --mailport 465
|
--mail SMTP --mailhost 127.0.0.1 --mailport 465
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Copy content folder back to the install_dir
|
# Copy content folder back to the install_dir
|
||||||
|
|
Loading…
Add table
Reference in a new issue