[mythtv-users] Automatically starting Myth Backend on SuSe 9.2
Andrew Chung
acchung at techie.com
Fri May 6 19:23:44 UTC 2005
Thanks for the help Mitko and Leith. I think I figured it out finally.
It seems that in the Required-Start: line some items DO need to have the $
and some do NOT. Items with a $ are built in values. $local_fs translates
into /boot being mounted or something like that. $netdaemons translates
into inted starting, etc. Without the $ then the script that has a
"Provides: " line must be started.
Also, after writing the script, run 'chkconfig [script name] [script run
levels with no spaces]' to install the script. For example: 'chkconfig
mythbackend 235'
After that, you MUST run insserv to build dependency file '.depend.start'.
When you look at this file, you will see the script name on the left and the
dependicies on the right of the colon.
Example: mythbackend: network syslog mysql
There is some more info here:
http://www.novell.com/coolsolutions/feature/11256.html
-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of leith
Sent: Friday, May 06, 2005 01:31
To: Discussion about mythtv
Subject: Re: [mythtv-users] Automatically starting Myth Backend on SuSe 9.2
i have attached my init file for SuSe 9.2 mythbackend
i believe I modified [if any] a file from myth's contrib/ directory.
after you put it in /etc/init.d run chkconfig mythbacked 235 so that it will
autostart on those runlevels.
-leith
Mitko Haralanov wrote:
> On Thu, 5 May 2005 23:33:50 -0700
> "Andrew Chung" <acchung at techie.com> wrote:
>
>
>>Has anyone gotten mythbackend to start correctly through init.d
>>scripts on SuSe 9.2?
>
>
> From my experience with SuSE, the Required-Start members should not
> have the $, like:
>
> # Required-Start: mysql network local_fs remote_fs
>
> I know that the files that come with SuSE all have them but at work we
> are using one of these files and we had to remove the $'s to get it to
> work
>
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list