[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with /etc/rc.local with 9/12 snapshot



On Sat, 25 Sep 2004 15:07:35 -0700 (PDT), Greg Thomas
<getbsd_(_at_)_dslextreme_(_dot_)_com> wrote:
> I have postgresql installed with the following at the end of /etc/rc.local:
> 
> if [ -x /usr/local/bin/pg_ctl ]; then
>         su -l _postgresql -c "/usr/local/bin/pg_ctl start \
>                 -D /var/postgresql/data -l /var/postgresql/logfile \
>                 -o '-i -D /var/postgresql/data'"
>         echo -n ' postgresql'
>         echo '.'
> fi

Try

         su -l _postgresql -c "/usr/local/bin/pg_ctl start \
                 -D /var/postgresql/data -l /var/postgresql/logfile \
                 -o '-i -D /var/postgresql/data'" \
        &&  echo -n ' postgresql'

and see if you still get "postgresql" on boot.


aaron.glenn



Visit your host, monkey.org