From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yavuz TANRIVERDİ <sternix@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: contrib/start-scripts/freebsd script fails with Ambiguous output redirect.
Date: Thu, 15 Mar 2018 17:23:46 -0400
Message-ID: <28419.1521149026@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH-+qaYitPTijkWuWM6Td58b93vhdKuXa+4cXq-J83BtqRT4sw@mail.gmail.com>
References: <CAH-+qaYitPTijkWuWM6Td58b93vhdKuXa+4cXq-J83BtqRT4sw@mail.gmail.com>
=?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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, sternix@gmail.com
Subject: Re: contrib/start-scripts/freebsd script fails with Ambiguous output redirect.
In-Reply-To: <28419.1521149026@sss.pgh.pa.us>
References: <CAH-+qaYitPTijkWuWM6Td58b93vhdKuXa+4cXq-J83BtqRT4sw@mail.gmail.com> <28419.1521149026@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox