On Sun, Sep 30, 2012 at 5:53 PM, Paul <myli...@wilsononline.id.au> wrote: > Hi Axel, > would it be possible to update your F17 MythTV package to use > Systemd instead of the SysV scripts as these seem to offer much more > flexibility eg you can wait for devices > here is a Wiki link to assist. > http://www.mythtv.org/wiki/Systemd_mythbackend_Configuration > > thanks > Paul > > _______________________________________________ > atrpms-users mailing list > atrpms-users@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-users
Axel: I am assuming that the mythtv.spec file would need to be updated to install the appropriate mythbackend.service file and to use systemctl rather than chkconfig and /sbin/service to install and run the appropriate file. I'd be happy to try to take a crack at updating the spec file and send you a diff, if you want. I am assuming that this is the section of the mythtv.spec file that needs to be adjusted: %pre backend # Add the "mythtv" user /usr/sbin/useradd -c "mythtvbackend User" \ -s /sbin/nologin -r -d %{_varlibdir}/mythtv mythtv 2> /dev/null || : %post backend /sbin/chkconfig --add mythbackend %preun backend if [ $1 = 0 ]; then /sbin/service mythbackend stop > /dev/null 2>&1 /sbin/chkconfig --del mythbackend fi I've looked over the file that Paul referenced and it is very close to the one I developed to use with my own systems (it uses slightly different locations for some of the user files). I'll let you know how I get on. George _______________________________________________ atrpms-users mailing list atrpms-users@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-users