pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kis János Tamás <kjt@takarnet.hu>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres at startup
Date: Thu, 16 Nov 2006 08:05:42 +0100
Message-ID: <200611160805.42927.kjt@takarnet.hu> (raw)
In-Reply-To: <000a01c702d6$0be5b990$0200a8c0@MAXIBM>
References: <000a01c702d6$0be5b990$0200a8c0@MAXIBM>

2006. November 8. 02.34 dátummal Michael McCloskey ezt írta:
> Postgres is starting automatically for me at startup.
> When I boot up my machine and then check the running processes I
> see postmaster.exe and 4 postgres processes.
> How can I stop this?
PGBIN="/usr/local/pgsql/bin";
PGDATA="/srv/postgresql";
su postgres -c "$PGBIN/pg_ctl -D $PGDATA stop"

> I don't want Postgres starting up automatically.

If you have Linux/Unix, you must to find a soft link in your 
"/etc/rc[1-6].d" dir and must to remove them:

kjt:/# cat /etc/inittab | grep default
id:3:initdefault:
   ^^^
kjt:/# ls /etc/rc3.d/ | grep postgres
S20postgresql-my

kjt:/# rm -i /etc/rc3.d/S20postgresql-my

bye,
kjt


McAfee SCM 4.1 által ellenőrizve!


view thread (4+ messages)  latest in thread

Message-ID: <200611160805.42927.kjt@takarnet.hu>
Permalink:  ../200611160805.42927.kjt@takarnet.hu/
Also on:    postgresql.org/message-id/200611160805.42927.kjt@takarnet.hu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kjt@takarnet.hu
  Subject: Re: Postgres at startup
  In-Reply-To: <200611160805.42927.kjt@takarnet.hu>
  References: <000a01c702d6$0be5b990$0200a8c0@MAXIBM> <200611160805.42927.kjt@takarnet.hu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox