Starting programs as a service
-
Have found XYNTService, but where can you find out something that describes in detail the issues of running a program as a service, environment, pathing, issues? There used to also be a thing SRVANY. Any help appreciated. Thanks:)
You can not run a program like a really service, you need the sources of the app for make that, and write a really service. But you have a trick, you can make a service that lunch programs, and kill the apps when you shutdown the service that manage the app... Do you Understand? ;););) Regards!!! Carlos Antollini. Sonork ID 100.10529 cantollini
-
Have found XYNTService, but where can you find out something that describes in detail the issues of running a program as a service, environment, pathing, issues? There used to also be a thing SRVANY. Any help appreciated. Thanks:)
As far as I know, the common problems of using XYNTService to run other programs are: 1. Some resources are not available when the service is started (nobody is logged in). For example, if your program is accessing a mapped network drive which doesn't exist when the service is starting. 2. The service is running under the local system account by default. Using this account, the program started by the service cannot access a regular users' resources (registry settings, etc.). However, you can reconfigure the service to run under a different user account with proper permissions. 3. The program started by the service crashes due to its own bugs, this is the hardest problem to figure out and there is not much you can do unless you have the source code of the program.
-
You can not run a program like a really service, you need the sources of the app for make that, and write a really service. But you have a trick, you can make a service that lunch programs, and kill the apps when you shutdown the service that manage the app... Do you Understand? ;););) Regards!!! Carlos Antollini. Sonork ID 100.10529 cantollini
"But you have a trick, you can make a service that lunch programs, and kill the apps when you shutdown the service that manage the app... Do you Understand?" XYNTService does all these and more so that you don't need to write a real service (most of the times). :)