![Heiko Thiery](/assets/img/avatar_default.png)
Use the same name as for the SysVinit scripts. This name is also used in debian. linuxptp-system-clock.service -> phc2sys.service linuxptp.service -> ptp4l.service Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Tested-by: Carlos Santos <unixmania@gmail.com> Tested-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
14 lines
265 B
Desktop File
14 lines
265 B
Desktop File
[Unit]
|
|
Description=Precision Time Protocol daemon
|
|
After=syslog.target network.target
|
|
Before=time-sync.target
|
|
Wants=time-sync.target
|
|
Wants=phc2sys.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/ptp4l -f /etc/linuxptp.cfg
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|