Tom Lane wrote:
> "Jim C. Nasby" <jnasby@pervasive.com> writes:
>> Except that the shell that's running su would be root, not pgsql, at
>> least in the case of FreeBSD. The guts of the current port's rc.d
>> file are:
>
>> su -l ${postgresql_user} -c "exec ${command} ${command_args}
>> ${rc_arg}"
>
> Yeah, but what's the ${command} ?
>
> If it's pg_ctl then all he's missing is the recent change to check
> getppid. If it's execing postmaster directly then maybe we need
> another theory.
It's pg_ctl....
command=${prefix}/bin/pg_ctl
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893