Extra startup/shutdown logic

Hey there! Haven't had to write an init script in years but needed one today and found your template; I needed to make a couple of changes for one service I had that takes a few seconds to shut down after the kill signal is sent.  May not be of use to you but just in case...