Package: postgresql-common
Version: 27
Severity: wishlist

Hi,
it would be nice if there where some hooks for adding actions needed for
dependant apps for "start" and "stop" of postgresql.  Example: I always
have to issue a "nagios restart" manually after postgresql was restarted
because nagios hangs if the DB went down while it was connected.

Not sure how fancy that should be.  Perhaps a simple "run-parts <dir>
--arg=<start|stop|restart>" would do the trick already. I'd think one
directory would be enough, as there should be no dependencies between
the dependant apps (i.e. it would be ok if the would be run in the same
order for start, stop, restart). Convincing packages depending on postgresql
to add files to that <dir> would be a second step, then.  

I could also send a patch for that if this would help.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages postgresql-common depends on:
ii  adduser                       3.67.2     Add and remove users and groups

Versions of packages postgresql-common recommends:
ii  openssl                       0.9.7g-3   Secure Socket Layer (SSL) binary a

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to