Skip to content

Commit

Permalink
pmon needs to restart when syncd restart
Browse files Browse the repository at this point in the history
pmon needs to set preemphasis and media-type when syncd restart

Signed-off-by: chiourung_huang <chiourung_huang@edge-core.com>
  • Loading branch information
chiourung authored and PJHsieh committed Jul 10, 2024
1 parent 98a4af5 commit 1840e8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/build_templates/pmon.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Requires=database.service updategraph.service
After=database.service updategraph.service
{% if sonic_asic_platform == 'mellanox' %}
After=syncd.service
{% elif sonic_asic_platform == 'broadcom' %}
Requires=syncd.service
After=syncd.service
{% endif %}
BindsTo=sonic.target
After=sonic.target
Expand Down

0 comments on commit 1840e8e

Please sign in to comment.