Add restart_plugin function to supervisor, update sample config