2010/11/29 Doug Barton <[email protected]>:
> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to