Browse Source

Merge pull request #140 from jplock/jp-postgres-pid

PostgreSQL 9.1 installs its pid into a different folder than 9.2
Luke Cyca 10 years ago
parent
commit
299c5d3115
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      roles/monitoring/files/etc_monit_conf.d_pgsql

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_pgsql View File

@@ -1,4 +1,4 @@
1
-check process postgres with pidfile /opt/postgresql/9.2/main/postmaster.pid
1
+check process postgres with pidfile /var/run/postgresql/9.1-main.pid
2 2
   group database
3 3
   start program = "/etc/init.d/postgresql start"
4 4
   stop program = "/etc/init.d/postgresql stop"

Loading…
Cancel
Save