> -----Original Message-----
> From: Miroslav Lichvar <mlich...@redhat.com>
> Sent: Wednesday, August 10, 2022 12:21 AM
> To: james jeong <james190...@gmail.com>
> Cc: linuxptp-users@lists.sourceforge.net
> Subject: Re: [Linuxptp-users] Question about how to run linuxptp as a service
> daemon
>
> On Wed, Aug 10, 2022 at 09:13:53AM +0900, james jeong wrote:
> > Dear,
> >
> > We are using Ubuntu 20.04 LTS.
> > I am trying to use linuxptp as a service daemon rather than an application.
> > (The purpose is to automatically run ptp4l and phc2sys when the Master and
> > Slave devices are booted.)
>
> The Ubuntu linuxptp package seems to contain systemd service files:
>
> /lib/systemd/system/phc2sys.service
> /lib/systemd/system/ptp4l.service
> /lib/systemd/system/timemaster.service
>
> and it has configuration files in /etc/linuxptp.
>
> You would just edit the configuration and enable the services you need
> to run.
>
> --
> Miroslav Lichvar
Yep, I'd recommend systemd or another service manager which converts the
stdin/stdout behavior of ptp4l into backgrounding.
Thanks,
Jake
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users