[mythtv-users] Mythbackend not starting automatically

Peter Bennett cats22 at comcast.net
Fri Sep 16 14:21:30 UTC 2016


On 09/15/2016 11:29 PM, James Linder wrote:
>> On 16 Sep 2016, at 10:26 AM, mythtv-users-request at mythtv.org wrote:
>>
>>> I can start mythbackend after startup with systemctl start mythtv-backend
>>> but it will not start automatically. It appear it is starting before mysql?
> I did try everything including dancing naked on a mountain top during a thunder storm . . .
>
> BUT mythbuntu does doit correctly. I’ve not spent time finding out *how* just using mythbuntu for my backend
>
> James
> _______________________________________________


I do not use the mythbuntu packages, and this is what I have in my
mythtv-backend.service. I have never had a problem with it.


    # /etc/systemd/system/mythtv-backend.service
    [Unit]
    Description=MythTV Backend
    Wants=mysql.service network-online.target
    After=mysql.service network-online.target

    [Service]
    Type=simple
    User=mythtv
    UMask=0002
    ExecStart=/usr/bin/mythbackend --syslog local7
    Restart=on-failure
    StartLimitInterval=10min
    StartLimitBurst=5
    StandardOutput=null

    [Install]
    WantedBy=multi-user.target

Peter




More information about the mythtv-users mailing list