added configs for clocks, aka clients
This commit is contained in:
20
CLIENTS/phc2sys-client.service
Normal file
20
CLIENTS/phc2sys-client.service
Normal file
@@ -0,0 +1,20 @@
|
||||
# /etc/systemd/system/phc2sys-client.service
|
||||
|
||||
|
||||
[Unit]
|
||||
Description=Synchronize Linux system clock from PTP PHC
|
||||
After=ptp4l-client.service
|
||||
Requires=ptp4l-client.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/phc2sys \
|
||||
-s enp4s0 \
|
||||
-c CLOCK_REALTIME \
|
||||
-w \
|
||||
-m
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user