]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql.upstart
- up to 7.3.3; fixes CVE-2014-0060, CVE-2014-0061, CVE-2014-0062, CVE-2014-0063,...
[packages/postgresql.git] / postgresql.upstart
1 description "Starts PostgreSQL instances for all configured clusters"
2
3 start on started SERVICE_syslog=y
4
5 env PG_DB_CLUSTERS
6
7 pre-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
18 end script
This page took 0.12765 seconds and 3 git commands to generate.