[mythtv-users] mythtv-backend service stops
Bill Meek
keemllib at gmail.com
Mon Nov 17 23:24:02 UTC 2014
On 11/17/2014 04:57 PM, Mike Perkins wrote:
...
> Actually I would add that in neither of the OP's examples should sudo have been used.
> The exec is stored in /usr/bin, therefore it doesn't need sudo to be runnable by any user.
>
> Doing that will almost certainly give you different results.
Not sure I follow that, but in the 1st case:
emmatodd at htpc:~$ sudo /usr/bin/mythbackend --syslog loval7 --user mythtv
he's using the --user switch and must run as root, otherwise
the command will fail. But I suspect you know/mean that.
I agree sudo isn't required in the 2nd case, and, in fact the
HOME directory will be the same with or without the sudo.
In any case, there are 2 different config.xml files in play.
And I forgot to mention the typo, it --syslog local7, not
loval7. But that's not the problem at hand.
--
Bill
More information about the mythtv-users
mailing list