Registering a Public (Regular) Station as a Service

After you generate a configuration file for the EER Station as a service, you can register the EER Station as a service.

This task shows you how to:

Register a Station as a Windows Service

  1. Open a Windows command prompt, and from the 3DOrchestrate root directory, run the following script:

    <station_install_dir>\<os>\code\command\SMAExeStationAsService-Register.bat

    The User Account Control dialog box appears.
  2. Click Yes.
  3. If the selected Windows account requires a password, enter it.
  4. Confirm the registration by doing the following:
    1. Select [Start menu] > Run.
    2. Enter services.msc, and click OK.

Register a Station as a Linux Service

  1. Run sudo systemctl daemon-reload.
  2. Run sudo systemctl start station.service, where station.service is the name of the service file. For example, SMAExeStation.service.
  3. Run sudo systemctl status station.service to check whether the service has started successfully.
  4. Run sudo systemctl enable station.service to register the service to run during startup.

Troubleshooting

The system logs,/etc/systemd/system/system.log, contain messages from the station.

Tip: The system logs can be very large. Use journalctl to help troubleshoot any issues that might arise.
journalctl -n <number of lines> -u <station.service> -f

Here, -n specifies the maximum number of log files that can be created for the service, thus limiting the number of log files, in this case station service, you want to view. The -u filters on the service you would like to view. The -f causes the system to continuously output messages only related to station service to the system log.