Dear Maintainer,
I am using a service created via systemd-run to run unattended-upgrade. Today, needrestart restarted this service as some libraries have been updated, which resulted in two runs, one failed and another one.
I suspect that commands started/run via systemd-run will most likely be oneshot commands, which shouldn't be restarted. Therefore, I added run services to override_rc and would like to see this in the default configuration for needrestart.
I attached a patch which will do this.
Cheers
Volker