start ptp4l, timemaster and phc2sys after network-online target
This commit is contained in:
parent
72a2bb640b
commit
f203e7a971
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Synchronize system clock or PTP hardware clock (PHC)
|
Description=Synchronize system clock or PTP hardware clock (PHC)
|
||||||
After=ntpdate.service
|
After=ntpdate.service ptp4l.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Precision Time Protocol (PTP) service
|
Description=Precision Time Protocol (PTP) service
|
||||||
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Synchronize system clock to NTP and PTP time sources
|
Description=Synchronize system clock to NTP and PTP time sources
|
||||||
After=chronyd.service ntpd.service ntpdate.service sntp.service
|
After=chronyd.service ntpd.service ntpdate.service sntp.service network-online.target
|
||||||
Conflicts=chronyd.service ntpd.service phc2sys.service ptp4l.service
|
Conflicts=chronyd.service ntpd.service phc2sys.service ptp4l.service
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Loading…
Reference in New Issue
Block a user