ubuntu-buildroot/package/linuxptp/phc2sys.service

11 lines
225 B
SYSTEMD

[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