--- /dev/null
+
+stop on pld.shutdown-started
+stop on stopping postgresql
+
+instance $DATADIR
+
+env DATADIR=/var/lib/pgsql
+
+script
+ exec >>/var/log/pgsql 2>&1
+ exec /sbin/setuidgid -s postgres \
+ /usr/bin/postgres -D $DATADIR
+end script
+
+
+
+
+