Autodetect lsb & systemd resource agents