]> git.pld-linux.org Git - packages/postgresql.git/blame - postgresql-instance.upstart
- added heimdal patch to prefer heimdal kerberos5 impl
[packages/postgresql.git] / postgresql-instance.upstart
CommitLineData
63ce0355
JK
1
2stop on pld.shutdown-started
3stop on stopping postgresql
4
5instance $DATADIR
6
7env DATADIR=/var/lib/pgsql
8
9script
10 exec >>/var/log/pgsql 2>&1
72f18a5a
JK
11
12 # please note: 'pg_ctl start' does not work with 'expect daemon'
13 # nor 'expect fork', so we need to start postgres directly
63ce0355
JK
14 exec /sbin/setuidgid -s postgres \
15 /usr/bin/postgres -D $DATADIR
16end script
17
72f18a5a 18# TODO: wait for the server in post-start
63ce0355 19
72f18a5a 20# vi: ft=upstart
This page took 0.565506 seconds and 4 git commands to generate.