[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with /etc/rc.local with 9/12 snapshot
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: problem with /etc/rc.local with 9/12 snapshot
- From: Aaron Glenn <aaron_(_dot_)_glenn_(_at_)_gmail_(_dot_)_com>
- Date: Sat, 25 Sep 2004 18:26:36 -0700
- Reply-to: Aaron Glenn <aaron_(_dot_)_glenn_(_at_)_gmail_(_dot_)_com>
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