jenkinsci/jenkins — pull request #1238 by gmjck (2014-05-13 01:20:38+00:00)
Title: [FIX JENKINS-22685] Jenkins cannot restart Windows service

Use "restart!" instead of "restart" when calling the Windows service wrapper to restart Jenkins. Otherwise, the service wrapper kills itself before completing the stop-wait-start procedure. JENKINS-22685 for issue description, and see Winsw README ("Restarting service from itself") for details about the use and intention of "restart!".