> > Index: pkg/PLIST
> > ===================================================================
> > RCS file: /home/edd/cvsync/ports/mail/rspamd/pkg/PLIST,v
> > retrieving revision 1.7
> > diff -u -p -r1.7 PLIST
> > --- pkg/PLIST       12 Sep 2016 09:48:37 -0000      1.7
> > +++ pkg/PLIST       16 Sep 2016 14:26:18 -0000
> > @@ -156,6 +156,7 @@ share/rspamd/www/react-index.html
> >  @owner _rspamd
> >  @group _rspamd
> >  @sample ${LOCALSTATEDIR}/rspamd/
> > +@sample ${LOCALSTATEDIR}/run/rspamd/
> 
> That part is useless:
> - it will be removed at boot

Correct, /var/run things shouldn't be @sample'd in PLIST.

> - the rc.d script already takes care of creating that dir

It does but the ownership is different,

:: rc_pre() {
::         install -d /var/run/rspamd
:: }

so if _rspamd:_rspamd is needed, it needs fixing in the rc script.

Reply via email to