[mythtv-users] Starting mythfrontend with systemd?

Richard Shaw hobbes1069 at gmail.com
Thu Oct 5 20:43:15 UTC 2017


On Thu, Oct 5, 2017 at 3:04 PM, Ian Evans <dheianevans at gmail.com> wrote:

>
>> Created the file with:
>
>         [Unit]
>         Description=the open source DVR, MythTV
>         After=mysql.service
>         BindsTo=graphical-session.target
>
>         [Service]
>         Environment=DISPLAY=%i
>         ExecStart=/usr/bin/mythfrontend
>
>         [Install]
>         WantedBy=graphical-session.target
>
> Then ran systemctl enable mythtv@:0.service
>
> Rebooted and the frontend didn't start. did a journalctl -b | grep myth
> and it shows the backend starting up but not the frontend.
>

I'm not sure if the service even fired off but I think you still want to
keep "After=graphical-session.target" as well...

As far as checking I would try:

systemctl status mythtv@:0.service

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171005/81738728/attachment.html>


More information about the mythtv-users mailing list