i would like to see something along the lines that Create services for NT boxes. i would also want something that start/stop services when installing programs that might interfere with the service. (installing apache over a phptriad application for example)
if you could somehow get these working, i bet alot more people would be happier.... at least youll have one.. me 🙂
Thanks,
Tic Tac
Feature wanted - Create Service | Start/Stop service
5 posts
Re: Feature wanted - Create Service | Start/Stop service
perhaps this does not belong to an installer but to the executable which implements the service. When creating services, there are so much parameters which need to be correctly specified. The programmer of the service executable should know best about what parameters to use.
A good example for that is inetd from the cygwin dist. It has two commandline options --install-as-service and --remove-as-service which (un)registers itself.
For start/stop you are probably right.
-Fritz
Originally posted by TicTacSounds nice, but ...
i would like to see something along the lines that Create services for NT boxes.
...
perhaps this does not belong to an installer but to the executable which implements the service. When creating services, there are so much parameters which need to be correctly specified. The programmer of the service executable should know best about what parameters to use.
A good example for that is inetd from the cygwin dist. It has two commandline options --install-as-service and --remove-as-service which (un)registers itself.
For start/stop you are probably right.
-Fritz
For stop and starting a service, just use the net command. specify either "start" or "stop" as the first parameter and the name of the service as the second.
For all services which I've written, I've always built the ability to register and unregister themselves into the application. Adds very little overhead and what better place to put it.
For all services which I've written, I've always built the ability to register and unregister themselves into the application. Adds very little overhead and what better place to put it.
hmm.. so how do you actually create a service? can you link me to somewhere i can find this out.
Thanks
Tic Tac
Thanks
Tic Tac
Originally posted by TicTacHave a look at the attached code. This is the cygwin inetd. You can
hmm.. so how do you actually create a service? can you link me to somewhere i can find this out.
Thanks
Tic Tac
get the full package (inetutils) from one of the mirrors listed here.
-Fritz