#26 closed enhancement (fixed)
Add CheckAll to checkServiceState
| Reported by: | tommi@… | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.2.7 |
| Component: | CheckSystem | Version: | 0.2.6 |
| Severity: | Patches | Keywords: | |
| Cc: |
Description
Basicly adds 2 new argument to checkServiceState.
CheckAll?, checks all services that are marked for automatic startup.
CheckAllExclude?, comma seperated list of services not to check even if they are set for automatic startup.
This patch was generated against 0.2.5h, I am not sure how cleanly it will apply to the current source.
I do not have a Windows development environment so I will not be able to upgrade the patch to trunk.
Attachments (1)
Change History (3)
Changed 6 years ago by tommi@…
comment:1 Changed 6 years ago by tommi@…
comment:2 Changed 6 years ago by mickem
- Resolution set to fixed
- Status changed from new to closed
Implemented based on patch (thanx) slight changes:
only the CheckAll? was added and the syntax of exclusions are:
exclude=wampmysqld exclude=MpfS... It also checks that "disabled" services are stopped.
And no the buffer size does not break anything at some point when I am not to bored I will add a config option for that so you can customize the buffer size... but alas I haven't done so yet :)
MickeM









It also enlarges mBuf and pBuf from 1024 to 4096, I'm not sure if this breaks something but I have deployed and am using the changed package on multiple machines ~20 without incident.
The reason for this is that the argument list is manipulated and all services set to Automatic startup are appended to the argument list and it can become quite large.