Hi,

I'm thinking about adding a task for stopping/starting/pausing/continueing a
service, and at the same time waiting for it to reach a certain status.

It would look something like this :

<servicecontroller service="iisadmin" action="Start | Stop | Continue |
Pause" waitforstatus="Paused | Running | ...." waittimeout="..." />

As the name suggests, I would use the servicecontroller task to implement
this task, which should make it pretty straightforward.  Ofcourse, this task
will be win32-specific, and as such would be part of the NAnt.Win32
namespace and assembly.

Any remarks, suggestions, ... ?

Gert




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to