cvs commit: ports/www/fcgiwrap Makefile
bapt at freebsd.org
Tue Nov 30 10:55:54 UTC 2010
2010/11/29 Doug Barton <dougb at 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.
More information about the cvs-ports