Skip to content

Commit d81780b

Browse files
authored
Fix host service for 202305 branch (sonic-net#17781)
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.
1 parent b99c46e commit d81780b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonic-host-services-data/debian/sonic-host-services-data.sonic-hostservice.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RestartSec=10
1212
TimeoutStopSec=3
1313

1414
[Install]
15-
WantedBy=mgmt-framework.service telemetry.service
15+
WantedBy=mgmt-framework.service telemetry.service gnmi.service
1616

0 commit comments

Comments
 (0)