Skip to content

Commit eec2abe

Browse files
authored
[config] Do no stop or restart dependent services (sonic-net#582)
1 parent b9d962d commit eec2abe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

config/main.py

-6
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,10 @@ def _abort_if_false(ctx, param, value):
288288

289289
def _stop_services():
290290
services = [
291-
'dhcp_relay',
292291
'swss',
293-
'snmp',
294292
'lldp',
295293
'pmon',
296294
'bgp',
297-
'teamd',
298295
'hostcfgd',
299296
]
300297
for service in services:
@@ -312,11 +309,8 @@ def _restart_services():
312309
'rsyslog-config',
313310
'swss',
314311
'bgp',
315-
'teamd',
316312
'pmon',
317313
'lldp',
318-
'snmp',
319-
'dhcp_relay',
320314
'hostcfgd',
321315
]
322316
for service in services:

0 commit comments

Comments
 (0)