fix some typo
fix restart in init script

cherrypy takes some time to properly stop.
adding a loop in restart to not start until dnscherryd is
completely stopped