On 2010/09/14 22:39, Edd Barrett wrote:
> On Mon, Sep 13, 2010 at 10:39:02PM +0200, Markus Bergkvist wrote:
> > It still ignores any signals. Might this be related?
> > http://marc.info/?l=openbsd-tech&m=128398746609607&w=2
>
> Maybe, unsure. Maybe someone >me knows?
>
> > Will this remove the database on pkg_add -u too?
> > @extraunexec rm -rf /var/db/mediatomb/*
>
> Only if you use pkg_delete -c.
>
> > $ diff -u Makefile.orig Makefile
> >
>
> New tarball attached. Also adds SYSCONFDIR to message as jasper said.
> # GPL
which version?
> ..files.xml..
some other /usr/local needs patching to ${TRUEPREFIX} in here
> To start mediatomb at boot time, place the following in
> ${SYSCONFDIR}/rc.local:
this should be /etc/rc.local, it's a system file (SYSCONFDIR is just
for files from ports)
> if [ -x ${TRUEPREFIX}/bin/mediatomb ] ; then
> echo -n ' mediatomb'
> su _mediatomb -c "${TRUEPREFIX}/bin/mediatomb \
> -c ${SYSCONFDIR}/mediatomb/config.xml -d"
and this is of course correct as SYSCONFDIR
> @newgroup _mediatomb:654
> @newuser _mediatomb:654:_mediatomb:daemon:Mediatomb
> Account:/var/db/mediatomb:/bin/sh
656 now; go and reserve it in infra/db/user.list now and update it in
your tree so you don't need to fiddle with it again :-)