Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Single Project Service

  • Last UpdatedJan 10, 2022
  • 2 minute read

To set up the Global daemon to run as a background service (allowing it to continue to run when logged out) use the DemonServiceSingle or DemonServiceMulti command in conjunction with the supplied singleds and multids batch files respectively.

DemonServiceSingle /install /project ABC /location singleds

where the batch file singleds.bat is supplied in the default install folder. This batch file will set all environment variables required to run the service for the single project ABC. The /location parameter specifies the file location of the batch file, not the base product location name.

The sample singleds batch file should be edited so that the environment variables are set as described in Using the admind command:

The command in the singleds batch file to start or stop the daemon uses parameters. Do not replace parameter %1 by an explicit ‘start’, since this batch file is also used when stopping the service.

To remove the service, in a command line window type:

DemonServiceSingle /remove

If for any reason, the service will not start, it is possible to run the service from a command line window using:

demonServiceSingle /debug

This will assist in identifying the cause of the problem (for example, Project directory not set up).

Note:
The debug option runs the service program from the current user, whereas the service itself runs as a local system administrator. If the service fails to start or does not run the daemon, try running the batch file from a command line window (first unset variables in your command window):

base product install path\singleds start ABC

This may show what is causing the daemon to stop, for example incorrect or missing variables.

TitleResults for “How to create a CRG?”Also Available in