1 |
slords |
1.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! |