c561bcbf5f
linuxptp has two services * linuxptp.service : the actual daemon * linuxptp-system-clock.service : sync the linux clock to the phc clock The first was enabled, the second was not, we now enable both The second has an incorrect (though harmless) WantedBy : there is an explicit Wants= in linuxptp.service Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
11 lines
228 B
Desktop File
11 lines
228 B
Desktop File
[Unit]
|
|
Description=Precision Time Protocol system clock synchronization
|
|
After=linuxptp.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -w -S 1.0
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|