1605 |
} |
} |
1606 |
|
|
1607 |
|
|
1608 |
|
/* |
1609 |
|
* This will disable service monitoring in the case that it is enabled |
1610 |
|
* @param s A Service_T object |
1611 |
|
*/ |
1612 |
|
void Util_monitorUnset(Service_T s) { |
1613 |
|
|
1614 |
|
ASSERT(s); |
1615 |
|
|
1616 |
|
if(s->monitor) { |
1617 |
|
s->monitor= MONITOR_NOT; |
1618 |
|
s->nstart= 0; |
1619 |
|
s->ncycle= 0; |
1620 |
|
} |
1621 |
|
DEBUG("Monitoring disabled -- service %s\n", s->name); |
1622 |
|
|
1623 |
|
} |
1624 |
|
|
1625 |
|
|
1626 |
/* ----------------------------------------------------------------- Private */ |
/* ----------------------------------------------------------------- Private */ |
1627 |
|
|
1628 |
|
|