Auteur: Lennart Sorensen Date: À: dmo-discussion Sujet: Re: mythtv v34 installation if user 'mythtv' is already created?
On Fri, Mar 01, 2024 at 05:08:21PM +0100, Christian Marillat wrote: > We already check HOME in mythtv-backend.postinst and
> mythtv-common.postinst with this command:
>
> getent passwd mythtv | awk -F: '{ print $6}'
>
> But I don't know how to do that in the service file.
>
> Any ideas ?
I found this seems to work after a bit of trying things:
[Unit]
Description=MythTV Test
After=mysql.service network.target