This is what mine looks like and works. Try postmaster instead of postgres.
[program:postgres] command=/local/releng/pkgs/postgresql-v9.1.9/bin/postmaster -D /local/postgres91/data stopsignal=INT redirect_stderr=true stdout_logfile=/local/ichnaea_conf/logs/console_postgres.log autorestart=true user=postgres priority=5 -Marvin On November 5, 2013 at 1:56:22 PM, Marcos Cano ([email protected]) wrote: hello im having trouble runninng postgres with supervisor. i usually start postgres with a init script as follow (with no problems) sudo -u postgres /usr/local/pgsql/bin/pg_ctl start -D /usr/local/pgsql/data -o "-i" however when I try to start it with supervisor as follow: [program:postgres8] command=/usr/local/pgsql/bin/postgres -D "/usr/local/pgsql/data" stopsignal=INT user=postgres redirect_stderr=true i have several problems with my application that connects to the DB because it says that could not connect to postgresql server. org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. i might be doing something wrong... but i need an enlighten thanks _______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
_______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
