openbsd-ports/multimedia/mediatomb/pkg/mediatomb.rc
sthen 2430901a00 tweaks to Mediatomb, ok brad@:
- Swap iconv MODULE for the gettext MODULE, from Brad
- Use proper POSIX feature test macro within the code, from Brad
- Fix dependency spec for spidermonkey
- Avoid hidden dep on isc-bind
- Replace MESSAGE with an rc script
- Change file permissions
- Patch to work with Samsung TVs which send // in GETs
2013-01-27 10:06:50 +00:00

11 lines
251 B
Bash

#!/bin/sh
#
# $OpenBSD: mediatomb.rc,v 1.1 2013/01/27 10:06:50 sthen Exp $
daemon="${TRUEPREFIX}/bin/mediatomb -d"
daemon_flags="-c ${SYSCONFDIR}/mediatomb/config.xml -u _mediatomb -g _mediatomb -l /var/log/mediatomb"
. /etc/rc.d/rc.subr
rc_cmd $1