Skip to content
Snippets Groups Projects
Unverified Commit d2ffe353 authored by tamaina's avatar tamaina Committed by GitHub
Browse files

no

parent d5d24b89
No related branches found
No related tags found
No related merge requests found
......@@ -726,7 +726,7 @@ if [ $method != "systemd" ]; then
pgconf_search="#listen_addresses = 'localhost'"
pgconf_text="listen_addresses = '$docker_host_ip'"
if grep "$pgconf_search" "$pg_conf"; then
sed -i '.mkmoded' -e "s/$pgconf_search/$pgconf_text/g" "$pg_conf";
sed -i'.mkmoded' -e "s/$pgconf_search/$pgconf_text/g" "$pg_conf";
elif grep "$pgconf_text" "$pg_conf"; then
echo " skip"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment