service: Implement 'on-watchdog' restart option

Services using the watchdog option might want to be restarted
only if the watchdog triggers.