hc
2023-03-13 2ec15ae1cb4be1b4fcb56c6d621123d7ebdaad6c
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