Skip to content

Commit

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

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 722b796 commit 970e7b3
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 970e7b3

Please sign in to comment.