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

Contents of /rpms/smeserver-postgresql/contribs8/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)
Sun Mar 3 21:52:45 2013 UTC (11 years, 2 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-postgresql-0_0_1-24_el5_sme, HEAD
Initial import

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