Skip to content

Commit

Permalink
Added dependency to start the service before bgp service
Browse files Browse the repository at this point in the history
Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
  • Loading branch information
saksarav-nokia committed Jan 11, 2024
1 parent 80bae33 commit d430346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions files/build_templates/startup_tsa_tsb.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description= STARTUP TSA-TSB SERVICE
Requires=updategraph.service database.service
After=updategraph.service database.service
Before=bgp.service
ConditionPathExists=!/etc/sonic/chassisdb.conf

[Service]
Expand Down
2 changes: 1 addition & 1 deletion files/scripts/startup_tsa_tsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def config_tsa():
return tsa_ena

def config_tsb():
logger.log_info("startup_tsa_tsb: Configuring TSB")
logger.log_info("Configuring TSB")
subprocess.check_output(['TSB']).strip()
tsb_issued = True
return
Expand Down

0 comments on commit d430346

Please sign in to comment.