]> git.pld-linux.org Git - packages/postgresql.git/blame - postgresql.upstart
- tcl rebuild
[packages/postgresql.git] / postgresql.upstart
CommitLineData
63ce0355
JK
1description "Starts PostgreSQL instances for all configured clusters"
2
562496af 3start on started SERVICE_syslog=y
63ce0355 4
ad7cce9c 5env PG_DB_CLUSTERS
63ce0355
JK
6
7pre-start script
8 exec >/tmp/pre-start 2>&1
9 set -x
10 if [ -z "$PG_DB_CLUSTERS" ] ; then
11 # read PG_DB_CLUSTERS from /etc/sysconfig/postgresql
12 # for init script compatibility
13 . /etc/sysconfig/postgresql
14 fi
15 for DATADIR in $PG_DB_CLUSTERS ; do
16 start postgresql/instance DATADIR=$DATADIR
17 done
18end script
This page took 0.282528 seconds and 4 git commands to generate.