fixing an extra set of quotes

This commit is contained in:
its-a-feature
2024-08-27 18:17:28 -05:00
parent 5bb16bb39f
commit 7b87af9d4d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ venv.bak/
# ssl certs
ssl/
# Mythic files
nginx-docker/config/blockips.conf
mythic-docker/src/Mythic
mythic_access.*
mythic_sync/
@@ -77,7 +77,7 @@ func AddMythicService(service string, removeVolume bool) {
"mythic_postgres:127.0.0.1",
}
if mythicEnv.GetBool("postgres_bind_localhost_only") {
pStruct["command"] = "postgres -c \"max_connections=100\" -p ${POSTGRES_PORT} -c config_file=/etc/postgresql.conf -c \"listen_addresses='localhost'\""
pStruct["command"] = "postgres -c \"max_connections=100\" -p ${POSTGRES_PORT} -c config_file=/etc/postgresql.conf -c \"listen_addresses=localhost\""
} else {
pStruct["command"] = "postgres -c \"max_connections=100\" -p ${POSTGRES_PORT} -c config_file=/etc/postgresql.conf"
}