/[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.3 - (show annotations) (download)
Tue Nov 25 16:20:28 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

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