ensuring service is restarted if the plugin is modified