Application as Service - Run additionally tab

This tab allows additional applications to be launched prior to the service startup, program start, stop or just after the service shutdown. This feature is useful if your application requires that certain file (TCP port, etc.) should be opened before application's start and closed after your application exits correctly, for example.

Please, note that these applications will be running for a limited time period since they are satelliting the service. If the applications specified here are running for unexpectedly long periods of time then the Service Manager may consider the service not responding and force it to be closed.

Here you are able to run additional programs:

  • before service start - additional application is launched prior to the service (immediately after registration of service in system is executed)
  • after service stop - additional application is started immediately after command to stop service is executed
  • before program start - additional application is started before command to start application, which is launched as service is executed
  • right after program start - additional application is started immediately after command to start application, which is launched as service is executed
  • before program stop - additional application is started every time before command to stop application, which is launched as service is executed
  • right after program stop - additional application is started immediately after command to stop application, which is launched as service is executed

In order to specify the application to run, please click button, then select working directory, additional parameters and execution period of time after which it will be forced to close.

  • Program

    This is the full path and name (including the file extension) of the additional program to run

  • Work directory

    Full valid path to the working directory of the application

  • Parameters

    This is an optional list of parameters that can be passed to the executable. It may contain user, system or service-specific environment variables (e.g. %MYVAR%).

  • Program should run for

    Set the expected time to run pre-service application. If the program exceeds this time limit, it will be forcibly closed.

You may add additional applications as described above, sort them by clicking "Up" and "Down" buttons as well as remove them by clicking "delete" button .

If a particular service crashes, additional applications will not be launched.