From f3661c06e0fcd22c10d427e33b46f471ebbb921d Mon Sep 17 00:00:00 2001 From: iNagy Karoly Gabriel Date: Tue, 27 Nov 2007 18:52:09 +0200 Subject: [PATCH] modified sshadminpg.cfg to honor postgresql8 type createuser --- 99-final/sshadminpg.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/99-final/sshadminpg.cfg b/99-final/sshadminpg.cfg index 0678c78..01a5bb4 100644 --- a/99-final/sshadminpg.cfg +++ b/99-final/sshadminpg.cfg @@ -5,3 +5,5 @@ cmdMakeDumpDir = /opt/postgresql/bin/pg_backup.sh configtest cmdPGrestart = sv h /service/postgresql cmdPGstatus = sv s /service/postgresql cmdPGForceRestart = sv i /service/postgresql +cmdPGCreateUser = su - postgres -c "/opt/postgresql/bin/createuser -s -d -r $user" +