On Saturday, November 19, 2011 5:34:59 am Andrus wrote:
> >To check whether this is the case, look in the appropriate /etc/rc*.d
>
> directory for the runlevel you're using, and see if there is an "S...."
> symlink to /etc/init.d/postgresql-9.1 (or something like that) in there.
>
> Thank you.
> There are S18postgresql symlinks in may rc?.d directories.
> They seems to be version independent so hopefully server is started on
> boot.
>
I have found sysv-rc-conf to be useful.
dpkg -l|grep sysv-rc-conf will determine if it is already installed
apt-get install sysv-rc-conf otherwise
When run (as root) with no arguments it will show what services are available
and which ones are configured to stop and start.
You can also give it a service name and either turn that service on or off.
>
> Andrus.
--
Adrian Klaver
adrian.klaver@gmail.com