From: Dan A. <da...@co...> - 2004-04-09 18:28:50
|
On Fri, Apr 02, 2004 at 12:02:47AM +0200, Jaroslaw Kowalski wrote: > I'm proud to announce that CoLinuxService v0.1 has been released. > > It allows you to run colinux as a Windows service and supports clean > shutdown procedure with elementary authentication. > > Full source code & binary is ready for download at > > http://jaak.sav.net/colinux/CoLinuxService-0.1.zip > > The code is available under the BSD license. Note that it contains portions > of Microsoft sample code by that comes with Visual C++ and I don't think > it's GPL-able. > > Installation instructions can be found inside the archive. > > Any feedback is welcome. Feel free to send patches and I'll include them in > future versions. This looks very nice, and I'd would really like to see this merged into coLinux, but as command line options to the daemon (along with icons set by the installer). Think about the potential: If colinux-daemon.exe is aware that it runs as a service, on ServiceStop() it can send an ctrl_alt_del() message to the Linux VM and cause it to shutdown cleanly - this means no xinetd network hacks. I'd like it to go like this: Whenever you install colinux-daemon as service using a command line such as: colinux-dameon -s install -n coLinuxServiceName [more paramters] It would take the other parameters and use them on Start. Then, you could do something like: colinux-dameon -s start -n coLinuxServiceName colinux-dameon -s stop -n coLinuxServiceName Instead of using service.cpp it would be better to code something similar only with the needed functionality. -- Dan Aloni da...@co... |