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.)


hth,

Doug


On 11/29/2010 03:47, Baptiste Daroussin wrote:
bapt        2010-11-29 11:47:07 UTC

   FreeBSD ports repository

   Modified files:
     www/fcgiwrap         Makefile
     www/fcgiwrap/files   fcgiwrap.in
   Log:
   Fix rc script when fcgiwrap_user is not set
   bump portrevision

   Revision  Changes    Path
   1.6       +1 -1      ports/www/fcgiwrap/Makefile
   1.4       +2 -2      ports/www/fcgiwrap/files/fcgiwrap.in

http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/www/fcgiwrap/Makefile.diff?&r1=1.5&r2=1.6&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/www/fcgiwrap/files/fcgiwrap.in.diff?&r1=1.3&r2=1.4&f=h




--

        Nothin' ever doesn't change, but nothin' changes much.
                        -- OK Go

        Breadth of IT experience, and depth of knowledge in the DNS.
        Yours for the right price.  :)  http://SupersetSolutions.com/

_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscr...@freebsd.org"

Reply via email to