internal_detach_pgroup
extern void internal_detach_pgroup(entity_t *, pgroup_t *);
internal_detach_pgroup(service, pg);