seems solved (was: mythtv-backend)

Top Page

Reply to this message
Author: Janusz S. Bień
Date:  
To: dmo-discussion
Old-Topics: Re: mythtv-backend
Subject: seems solved (was: mythtv-backend)

From the mythtv-users list:

> On Sat, 20 Jul 2019 12:04:55 +0200, you wrote:
>
>>On Sat, Jul 20 2019 at 20:10 +12, Stephen Worthington wrote:
>>
>>[...]
>>
>>> You can either disable the /etc/init.d script, or you can rename your
>>> mythbackend.service file to mythtv-backend.service, in which case
>>> systemd will ignore the init script in favour of the proper systemd
>>> unit. To disable the init script, I think this is the right way to do
>>> it:
>>>
>>> update-rc.d mythtv-backend disable
>>
>>Thanks, it works.
>>
>>I got however some warnings:
>>
>>--8<---------------cut here---------------start------------->8---
>>insserv: warning: current start runlevel(s) (empty) of script `mythtv-backend' overrides LSB defaults (2 3 4 5).
>>insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mythtv-backend' overrides LSB defaults (0 1 6).
>>--8<---------------cut here---------------end--------------->8---
>>
>>Can I simply ignore them?
>>
>>Best regards
>>
>>Janusz
>
> It is a while since I used init scripts much, but yes, I believe you
> can just ignore the warnings. The "LSB defaults" mentioned are in the
> LSB "comment" section at the top of the script file:
>
> # Default-Start:     2 3 4 5
> # Default-Stop:      0 1 6

>
> You are overriding them by disabling the script, which sets the start
> runlevels to empty and the stop runlevels to all runlevels.


-- 
             ,   
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien