X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/35659203a708078cdec25ff74adbe1e9168934d6..400fd64b3e8a53f43534eb5cf23ad4cfcf79ce93:/configDefault/postgres.cfg diff --git a/configDefault/postgres.cfg b/configDefault/postgres.cfg dissimilarity index 80% index 6c91204..58b4254 100644 --- a/configDefault/postgres.cfg +++ b/configDefault/postgres.cfg @@ -1,7 +1,10 @@ -structure Postgres :> POSTGRES_CONFIG = struct - -val adduser = "/usr/bin/sudo /usr/local/sbin/domtool-postgres adduser " -val createdb = "/usr/bin/sudo /usr/local/sbin/domtool-postgres createdb " -val dropdb = "/usr/bin/sudo /usr/local/sbin/domtool-postgres dropdb " - -end +structure Postgres :> POSTGRES_CONFIG = struct + +val adduser = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-postgres adduser" +val createdb = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-postgres createdb" +val dropdb = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-postgres dropdb" + +val postgres81port = "5432"; +val postgres9port = "5433" + +end