On 19/03/2012 06:56, Duncan Brown wrote:
Thanks Axel

Just a heads up for the next build, you'll need to change --logfile in the init.d script to --logpath or mythbackend wont start

Also %{_bindir}/mythmessage can go, as the binary has been removed

cheers

Dunc

and to be a bit more specific, the --logpath function wants a directory name, not a file name.

So mythbackend.init.in needs to read

binary=@bindir@/mythbackend
prog=mythbackend
RETVAL=0
OPTIONS="$OPTIONS --daemon --logpath @logdir@/mythtv/ --pidfile @rundir@/$prog.pid"

This also mucks up logrotate, so all the logrotate stuff will have to go. There is a replacement python script that can be run daily from cron here:

https://github.com/MythTV/packaging/blob/master/Gentoo/media-tv/mythtv/files/logcleanup.py

Dunc



_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to