소스 검색

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

PostgreSQL 9.1 installs its pid into a different folder than 9.2
Luke Cyca 11 년 전
부모
커밋
299c5d3115
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      roles/monitoring/files/etc_monit_conf.d_pgsql

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_pgsql 파일 보기

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
   group database
2
   group database
3
   start program = "/etc/init.d/postgresql start"
3
   start program = "/etc/init.d/postgresql start"
4
   stop program = "/etc/init.d/postgresql stop"
4
   stop program = "/etc/init.d/postgresql stop"

Loading…
취소
저장