/[smecontribs]/rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.chpst.patch2
ViewVC logotype

Contents of /rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.chpst.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Dec 28 02:32:06 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-postgresql-0_0_1-24_el4_sme
Import on branch contribs7 of package smeserver-postgresql-0.0.1-24.el4.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/var/service/postgresql/run mezzanine_patched_smeserver-postgresql-0.0.1/root/var/service/postgresql/run
2 --- smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-05-24 15:26:08.000000000 -0400
3 +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-06-28 15:56:36.000000000 -0400
4 @@ -7,10 +7,10 @@
5 if [ ! -f ${DATA}/PG_VERSION ]
6 then
7 echo "*** Initialising postgresql in data directory ${DATA}"
8 - setuidgid postgres /usr/bin/initdb --pgdata=${DATA}
9 + chpst -u postgres /usr/bin/initdb --pgdata=${DATA}
10 fi
11 echo "*** Starting postgresql on data ${DATA}"
12 exec \
13 - setuidgid postgres \
14 + chpst -u postgres \
15 postmaster -D ${DATA}
16 ### that's all, folks!

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed