Skip to content

Commit

Permalink
[Nokia-7215] Enhance Watchdog service (sonic-net#18850)
Browse files Browse the repository at this point in the history
Mask Watchdog-control.service and make sure only one watchdog service
starts on this platform
  • Loading branch information
Pavan-Nokia authored and arun1355492 committed Jul 26, 2024
1 parent ccbfabb commit ca9ce36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Unit]
Description=CPU WDT
Conflicts=watchdog-control.service
After=nokia-7215init.service
[Service]
ExecStart=/usr/local/bin/cpu_wdt.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ systemctl restart kmod
systemctl enable nokia-7215init.service
systemctl start nokia-7215init.service

systemctl mask --now watchdog-control.service

systemctl enable cpu_wdt.service
systemctl start cpu_wdt.service

Expand Down

0 comments on commit ca9ce36

Please sign in to comment.