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