Look at inotify: https://github.com/rvoicilas/inotify-tools You can check for instance if postmaster.pid exists.
-- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general