~ubuntu-branches/ubuntu/raring/pgpool2/raring

« back to all changes in this revision

Viewing changes to debian/pgpool2.init.d

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-04-10 11:07:43 UTC
  • mfrom: (4.2.10 sid)
  • Revision ID: package-import@ubuntu.com-20130410110743-00idlr8kaaaiqcqt
Tags: 3.1.3-5
Create /var/run/postgresql on startup when missing.  Closes: #703696.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
 
40
40
d_start() {
 
41
        if ! test -d /var/run/postgresql; then
 
42
                install -d -m 2775 -o postgres -g postgres /var/run/postgresql
 
43
        fi
 
44
 
41
45
        if is_running; then
42
46
                :
43
47
        else