Enable on-demand rotation.
authorIain Patterson <me@iain.cx>
Sun, 12 Jan 2014 23:56:10 +0000 (23:56 +0000)
committerIain Patterson <me@iain.cx>
Sun, 12 Jan 2014 23:56:10 +0000 (23:56 +0000)
commit2cd1c7c29ef4d2d3df3c5afd3ca6c788aede2bef
treed23d944ccef62986d6d61830fc1f892713ff0ee2
parentd69db812fe68fb913f65e6aa8ac8584ee079c0c6
Enable on-demand rotation.

Running "nssm rotate <service>" will send user-defined service control
128 to the service, triggering a rotation of output files after the next
call to ReadFile(), regardless of the value of AppRotateBytes*.

Note that since ReadFile() is synchronous, we have no way to interrupt
it, hence there may be a significant delay before the rotation happens.
README.txt
gui.cpp
io.cpp
io.h
messages.mc
nssm.cpp
nssm.h
service.cpp
service.h