Restart scheduler on deploy
Merge pull request #1809 from zz9pzza/issue_4081_2

issue 4081 Restart scheduler on deploy