From 38b4335270f1c5f06a42cfb6890b7b19d6af84aa Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Thu, 14 Jun 2007 14:51:11 +0000 Subject: [PATCH] * enhanced postgresql.postinstall to create out prefered way of starting postgresql git-svn-id: svn+ssh://svn.opensde.net/home/users/karasz/x5/tardiba/trunk@71 471cc25b-571d-0410-8e29-1f4f9b506cef --- postgresql.postinstall | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postgresql.postinstall b/postgresql.postinstall index 27ddb86..610406f 100644 --- a/postgresql.postinstall +++ b/postgresql.postinstall @@ -24,5 +24,7 @@ sed -i -e "s,^#default_with_oids\ =\ off,default_with_oids\ =\ on," \ -e "s,^#backslash_quote\ =\ safe_encoding,backslash_quote\ =\ on," \ -e "s,^#add_missing_from\ =\ off,add_missing_from\ =\ on," /var/opt/postgresql/data/postgresql.conf +sed -i -e "s,postmaster -i,postmaster -i -o -e," /etc/opt/postgresql/run + # create the runit link ln -svnf /etc/opt/postgresql /service/postgresql