hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Precision Time Protocol system clock synchronization
After=syslog.target network.target
 
[Service]
ExecStart=/usr/sbin/phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -w -S 1.0
Restart=always
 
[Install]
WantedBy=multi-user.target
WantedBy=linuxptp.service