Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 1997 16:05:39 +0100 (MET)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Cc:        h.wickhorst@elmshorn.netsurf.de
Subject:   Re: Starting postgres at bootup
Message-ID:  <199703051505.QAA00310@CoDe.hu>
In-Reply-To: <199703032247.XAA13367@thor.shn.com> from Henning Wickhorst at "Mar 3, 97 11:47:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> I found the solution:
>        /bin/echo "/u/pgsql/bin/postmaster -D/u/pgsql/data > \
>        /u/pgsql/server.log  2>&1 &" | /usr/bin/su - postgres
>                                                   ^
>                                                   |
>  This dash was causing the problem. I took it away and eyerything 
>  works fine.
> 
>  Does anybody know what this dash is exactly doing ?

Hi!

Well, it's not in the manual (2.1.5), but it means: simulate a full login of
user, (as the ``-l'' option in the FreeBSD's manual).  It's the old
semantic, used most of the Unices (I worked on), but it's in the sources,
too.  Of course, you need the source to verify it :-)

Gabor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703051505.QAA00310>