Skip to content

Commit

Permalink
Fix host service for 202305 branch (sonic-net#17781)
Browse files Browse the repository at this point in the history
Why I did it
When we disable telemetry.service, sonic-hostservice will not start. And root cause is sonic-hostservice is only wanted by telemetry.service.

Work item tracking
Microsoft ADO (number only):
How I did it
Add dependency for gnmi.service.

How to verify it
Disable telemetry.service and build new image, and then check sonic-hostservice with new image.
  • Loading branch information
ganglyu authored Jan 18, 2024
1 parent b99c46e commit d81780b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RestartSec=10
TimeoutStopSec=3

[Install]
WantedBy=mgmt-framework.service telemetry.service
WantedBy=mgmt-framework.service telemetry.service gnmi.service

0 comments on commit d81780b

Please sign in to comment.