ports/77028: net/jabber startup script not executable
    Vivek Khera 
    vivek at khera.org
       
    Thu Feb  3 14:38:59 UTC 2005
    
    
  
> 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
    
    
More information about the freebsd-ports-bugs
mailing list