[mythtv-commits] Ticket #13160: mythbackend process not stopped when using mythtv-setup

MythTV noreply at mythtv.org
Wed May 16 02:36:23 UTC 2018


#13160: mythbackend process not stopped when using mythtv-setup
-----------------------------+------------------------
 Reporter:  mike.bibbings@…  |          Owner:  (none)
     Type:  Patch - Bug Fix  |         Status:  new
 Priority:  minor            |      Milestone:  29.2
Component:  Packaging        |        Version:  v29.0
 Severity:  medium           |     Resolution:
 Keywords:                   |  Ticket locked:  0
-----------------------------+------------------------

Comment (by baizej):

 Too keep code similar to the other start/stop commands, why wouldn't the
 service wrapper be used for status as well?

 {{{
 RUNNING=$(/usr/sbin/service mythtv-backend status | grep running)
 }}}

 The $RUNNING variable is used later in the same script so removing it as
 indicated in the first solution would invalidate the other if statements
 using $RUNNING.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13160#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list