bacd7f82bc
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>
11 lines
225 B
Desktop File
11 lines
225 B
Desktop File
[Unit]
|
|
Description=Precision Time Protocol system clock synchronization
|
|
After=ptp4l.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -w -S 1.0
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|