Date: Thu, 3 Feb 2005 09:38:56 -0500 From: Vivek Khera <vivek@khera.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/77028: net/jabber startup script not executable Message-ID: <57693bbb286ab46ff683ebab24285723@khera.org> In-Reply-To: <200502030841.j138fIgo038342@freefall.freebsd.org> References: <200502030841.j138fIgo038342@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Thanks for rc-ngifying it -- but I'd prefer the pid-file to be > kept in /var/run like everybody else does. Could you try setting > this in jabber.xml please? I tried it, but jabber.pid is created as user jabber group jabber, so it can't write to /var/run. I tried to look at how the clamav-clamd.sh startup script does it since it puts the pid in /var/run/clamav/ (a dir owned by clamav), but I don't see how that directory gets created to do the same with jabber. Maybe if we added something like this: start_precmd=start_precmd start_precmd() { mkdir -p /var/run/jabber chown ${jabber_user}:${jabber_group} /var/run/jabber } Vivek Khera, Ph.D. +1-301-869-4449 x806
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57693bbb286ab46ff683ebab24285723>