Date: Tue, 30 Nov 2010 11:55:52 +0100 From: Baptiste Daroussin <bapt@freebsd.org> To: Doug Barton <dougb@freebsd.org> Cc: cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/www/fcgiwrap Makefile ports/www/fcgiwrap/files fcgiwrap.in Message-ID: <AANLkTik77DAX-KYguuF0GUi--Qs1QjgqUWZpZKQq95Sh@mail.gmail.com> In-Reply-To: <4CF3F11D.4080203@FreeBSD.org> References: <201011291147.oATBl8EK023858@repoman.freebsd.org> <4CF3F11D.4080203@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/11/29 Doug Barton <dougb@freebsd.org>: > Your solution is fine, however if you supply "root" as a default value for > _user then you could simplify it down to: > > start_precmd="install -d -o $fcgiwrap_user -m 755 /var/run/fcgiwrap" > > (Or use whatever value of -m is appropriate.) > This is great but this solution make problem when fcgiwrap_user is change by the user because after stop fcgiwrap.pid is left behind with 700 value for the rights so it can't be overwritten. The solution is to rm the pidfile on stop_postcmd but I don't know if we are "allowed" to do that. Thanks. Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik77DAX-KYguuF0GUi--Qs1QjgqUWZpZKQq95Sh>