[mythtv-users] Mythbackend startup shutdown settings

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Jan 29 10:29:12 UTC 2018


On Mon, 29 Jan 2018 09:12:48 +0000, you wrote:

>On Sunday, 28 January 2018 13:45:45 GMT Bill Meek wrote:
>> On 01/28/2018 01:12 PM, Don Brett wrote:
>> > I've migrated my database from earlier versions and just noticed that the
>> > backend setup (general settings) has entries for "Backend stop command"
>> > and "Backend start command".  Should I update those to the systemd
>> > commands?
>> > 
>> > Start backend:
>> > sudo systemctl start mythtv-backend
>> > 
>> > Stop backend:
>> > sudo systemctl stop mythtv-backend
>> 
>> That's my choice and I have entries in sudoers.d/mythtv for them.
>> 
>> You may find that sudo service mythtv-backend start/stop also work
>> and may be in sudoers already (works for me on Ubuntu 17.10.)
>
>So does this explain the problems with the backend not shutting down when mythtv-setup 
>is run? On a clean install of Mythbuntu without a restoration of the database what are the 
>backend start/shutdown commands? Are they the systemd compatible ones?
>
>
>Regards, Steve Goodey
>Colchester, England
>mailto://steve@goodey.org
>Registered Linux User #372670 http://counter.li.org
>
>Hello to Jason Isaacs

In Ubuntu, mythtv-setup is a script that stops mythbackend then runs
mythtv-setup.real.  It should shut down mythbackend correctly.  If you
just directly run mythtv-setup.real, then there might be problems with
it shutting down mythbackend if the settings in the database have not
been updated.


More information about the mythtv-users mailing list