Ticket #8380: mythbackend_autostart.diff.txt

File mythbackend_autostart.diff.txt, 2.6 KB (added by linux@…, 14 years ago)

Diff from mythtv-HOWTO-23.html - head (22412)

Line 
1--- 22412/mythtv-HOWTO-23.html  2009-10-13 03:02:50.000000000 +0100
2+++ update/mythtv-HOWTO-23.html 2010-04-24 20:46:47.000000000 +0100
3@@ -475,43 +475,31 @@
4 
5 <H3>Red Hat And Mandriva</H3>
6 
7-<P>Here's a method for automatically starting mythbackend submitted by Mike
8+<P>A method for automatically starting mythbackend submitted by Mike
9 Thomson (
10 <A HREF="mailto:linux@m-thomson.net">mailto:linux@m-thomson.net</A>) and Stu Tomlinson (
11-<A HREF="mailto:stu@nosnilmot.com">mailto:stu@nosnilmot.com</A>).</P>
12-<P>Copy the files from the MythTV <CODE>contrib</CODE> directory or from Mike's web
13-site (
14-<A HREF="http://m-thomson.net/mythtv/">http://m-thomson.net/mythtv/</A>) as follows:</P>
15-<P><CODE>etc.rc.d.init.mythbackend</CODE> should be made executable and copied to
16-<CODE>/etc/rc.d/init.d/</CODE>:
17+<A HREF="mailto:stu@nosnilmot.com">mailto:stu@nosnilmot.com</A>) has subsequently been updated by Axel Thimm (<A HREF="mailto:axel.thimm@atrpms.net">mailto:axel.thimm@atrpms.net</A>) and is now maintained by the MythTV Development Team.</P>
18+<P>Copy the files from the MythTV <CODE>contrib</CODE> directory as follows (the paths in this example are based on the locations used in MythBuntu, yours may vary):</P>
19 <BLOCKQUOTE><CODE>
20 <PRE>
21-$ cd contrib
22+$ cd /usr/share/doc/mythtv-backend/contrib/Linux/init_scripts/
23 $ su
24-# chmod a+x etc.rc.d.init.d.mythbackend
25-# cp etc.rc.d.init.d.mythbackend /etc/rc.d/init.d/mythbackend
26+# gunzip fedora.init.myth*
27+# cp fedora.init.mythbackend /etc/init.d/mythbackend
28+# cp fedora.init.mythjobqueue /etc/init.d/mythjobqueue
29+# chmod u+x /etc/init.d/myth*
30+# cp fedora.sysconfig.mythbackend /etc/sysconfig/mythbackend
31+# cp fedora.sysconfig.mythjobqueue /etc/sysconfig/mythjobqueue
32 </PRE>
33 </CODE></BLOCKQUOTE>
34-</P>
35-<P><CODE>etc.sysconfig.mythbackend</CODE> should be copied to
36-<CODE>/etc/sysconfig/</CODE>:
37-<BLOCKQUOTE><CODE>
38-<PRE>
39-$ cd contrib
40-$ su
41-# cp etc.sysconfig.mythbackend /etc/sysconfig/mythbackend
42-</PRE>
43-</CODE></BLOCKQUOTE>
44-</P>
45-<P>Edit <CODE>/etc/sysconfig/mythbackend</CODE> if you want to change the defaults
46-(the userid that should start mythbackend, location of the logfile and (if
47-required) the name and location of the mythbackend binary).</P>
48-<P>Use <B>chkconfig</B> to make sure the script is called when
49+<P>Review the contents of <CODE>/etc/sysconfig/mythbackend</CODE> and <CODE>/etc/sysconfig/mythjobqueue</CODE> then edit them if you want to change any of the defaults</P>
50+<P>Use <B>chkconfig</B> to make sure the scripts are called when
51 entering runlevels 3, 4 or 5:
52 <BLOCKQUOTE><CODE>
53 <PRE>
54 $ su
55 # chkconfig --level 345 mythbackend on
56+# chkconfig --level 345 mythjobqueue on
57 # exit
58 $
59 </PRE>