GrandMaster config
This commit is contained in:
20
RPi5_configs/phc2sys-gm.service
Normal file
20
RPi5_configs/phc2sys-gm.service
Normal file
@@ -0,0 +1,20 @@
|
||||
# /etc/systemd/system/phc2sys-gm.service
|
||||
|
||||
[Unit]
|
||||
Description=Synchronize eth0 PHC from GNSS-disciplined system clock
|
||||
After=ptp4l-gm.service
|
||||
Requires=ptp4l-gm.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/phc2sys \
|
||||
-s CLOCK_REALTIME \
|
||||
-c eth0 \
|
||||
-w \
|
||||
--step_threshold=0.5 \
|
||||
-m
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user