Re: [Linuxptp-users] Question about how to run linuxptp as a service daemon
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2022-08-10 07:21:08
|
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 |