As-is, this will not do anything since `hasrestart` is `true`. I like the idea of running the config test before trying to issue a restart.

My only concern here is going to be how each OS handles this. Hosts with upstart might complain...