Re: automatically starting PostgreSQL

2007-04-02 Thread Kevin Kinsey
Reko Turja wrote: Ports are not to be mixed with packages. If you are using "ports" and "packages" solely in "FreeBSD Terms", then this isn't correct*. Once installed, there is no/little-if-any difference; /var/db/pkg is common to both, and the standard package tools operate equally well for

Re: automatically starting PostgreSQL

2007-04-02 Thread Jonathan Chen
On Mon, Apr 02, 2007 at 03:09:29PM -0400, Charles Farinella wrote: [...] > For reasons having to do with our particular operation, it is our custom > to build many packages from source code no matter the operating system, > so I don't want to install from the ports tree. Short answer: to get it

Re: automatically starting PostgreSQL

2007-04-02 Thread Reko Turja
For reasons having to do with our particular operation, it is our custom to build many packages from source code no matter the operating system, so I don't want to install from the ports tree. The ports tree is just there for installation from source and putting the software after compile into

Re: automatically starting PostgreSQL

2007-04-02 Thread Nagy László Zsolt
For reasons having to do with our particular operation, it is our custom to build many packages from source code no matter the operating system, so I don't want to install from the ports tree. Did you know that when you install from the ports tree, it will actually download the sources, make

Re: automatically starting PostgreSQL

2007-04-02 Thread Charles Farinella
Warren Block wrote: On Mon, 2 Apr 2007, Charles Farinella wrote: I built PostgreSQL from source In other words, not from ports? Or if it was from ports, which port? and copied the supplied startup script to /etc/rc.d/postgresql. The script works as expected. Yes, but that's not where it

Re: automatically starting PostgreSQL

2007-04-02 Thread Warren Block
On Mon, 2 Apr 2007, Charles Farinella wrote: I built PostgreSQL from source In other words, not from ports? Or if it was from ports, which port? and copied the supplied startup script to /etc/rc.d/postgresql. The script works as expected. Yes, but that's not where it should be in FreeBSD

Re: automatically starting PostgreSQL

2007-04-02 Thread Josh Carroll
Execute rights, yes, but you shouldn't rename it to foo.sh under 6.2 -- that's not how things are supposed to work in recent releases. Without the PROVIDE: in the rc script, it won't get executed unless it has an .sh extension. man rc has details, but .sh should still work and I think is require

Re: automatically starting PostgreSQL

2007-04-02 Thread Matthew Seaman
Nagy László Zsolt wrote: > Try to rename it to "postgresql.sh" and give execute rights. Execute rights, yes, but you shouldn't rename it to foo.sh under 6.2 -- that's not how things are supposed to work in recent releases. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil.

Re: automatically starting PostgreSQL

2007-04-02 Thread Nagy László Zsolt
Charles Farinella írta: Hi all, FreeBSD 6.2: I built PostgreSQL from source and copied the supplied startup script to /etc/rc.d/postgresql. The script works as expected. In /etc/rc.conf I've added the following: postgresql_enable="YES" expecting this to automatically start PostgeSQL at bo

automatically starting PostgreSQL

2007-04-02 Thread Charles Farinella
Hi all, FreeBSD 6.2: I built PostgreSQL from source and copied the supplied startup script to /etc/rc.d/postgresql. The script works as expected. In /etc/rc.conf I've added the following: postgresql_enable="YES" expecting this to automatically start PostgeSQL at boot, yet this doesn't hap