Re: contrib/start-scripts/freebsd script fails with Ambiguous output redirect. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: contrib/start-scripts/freebsd script fails with Ambiguous output redirect.
Date
Msg-id 28419.1521149026@sss.pgh.pa.us
Whole thread Raw
In response to contrib/start-scripts/freebsd script fails with Ambiguous output redirect.  (Yavuz TANRIVERDİ <sternix@gmail.com>)
Responses Re: contrib/start-scripts/freebsd script fails with Ambiguous output redirect.  (Yavuz TANRIVERDİ <sternix@gmail.com>)
List pgsql-bugs
=?UTF-8?Q?Yavuz_TANRIVERD=C4=B0?= <sternix@gmail.com> writes:
> I install PostgreSQL 10.3 from official sources to FreeBSD 11.1 than add
> start script to rc.d system

> # cp postgresql-10.3/contrib/start-scripts/freebsd
> /usr/local/etc/rc.d/postgresql.sh
> # chmod +x /usr/local/etc/rc.d/postgresql.sh

> than want to start the server with "/usr/local/etc/rc.d/postgresql.sh
> start" command but i  get "Ambiguous output redirect." error

Perhaps you're using a non-bourne-compatible shell for the postgres
user account?  If so, you'd likely need to adapt the syntax for the
passed-down command.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Yavuz TANRIVERDİ
Date:
Subject: contrib/start-scripts/freebsd script fails with Ambiguous output redirect.
Next
From: Петър Славов
Date:
Subject: Re: BUG #15114: logical decoding Segmentation fault