[net-dns/openresolv] add restartcmd: automatically detect openrc and systemd at runtime