Skip to content

Commit

Permalink
Renaming delay.target to sonic-delayed.target
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsudharsan committed Jun 16, 2021
1 parent 4b248ac commit 637b664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def _restart_services():
clicommon.run_command("sudo monit reload")

def _get_delay_timers():
out = clicommon.run_command("systemctl list-dependencies delay.target --plain |sed '1d'", return_cmd=True)
out = clicommon.run_command("systemctl list-dependencies sonic-delayed.target --plain |sed '1d'", return_cmd=True)
return [timer.strip() for timer in out.splitlines()]

def _delay_timers_elapsed():
Expand Down

0 comments on commit 637b664

Please sign in to comment.