fix selective prestarting of services with specific dependencies
remove dead code