Skip to content

Commit edaa984

Browse files
authored
fix(service): start drs-sensor after ptp4l to ensure time sync readiness (#147)
Add ptp4l.service to the After= directive of drs-sensor.service so the sensor driver does not start before the PTP daemon is running. Without this ordering, the Seyond LiDAR driver floods logs with PTP clock sync errors ("failed to step clock: Invalid argument").
1 parent 7343b75 commit edaa984

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible/roles/drs_sensor_service/templates/drs-sensor.service.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Unit]
22
Description=DRS Launch Service
33
Requires=network-online.target systemd-modules-load.service
4-
After=network-online.target cyclonedds-local.service systemd-modules-load.service
4+
After=network-online.target cyclonedds-local.service systemd-modules-load.service ptp4l.service
55

66
[Service]
77
Type=exec

0 commit comments

Comments
 (0)