Skip to content
Snippets Groups Projects
README 1.22 KiB
Newer Older
----NOTICE----
The lebt emu has an unclear/unidentified issue with running as ioc user. 
However a hint may be that a different database behavior was observed when it comes to the signalling of that all detector finished in scanDAQDetTrig.template from scanning module.
This seems to only occur when running as ioc user. The effect is that the scan hangs because the counter record: $(DEVICE):$(DETTRG)-DETCNT in scanDAQDetTrig.template is incremented incorrectly, maybe due to abundant or insufficient number of processing for each point in the inner scan.

The work around is to run the ioc as root user. A special systemd service has been constructed to this without interferring with standard ioc booting procedure.

The systemd service specification should be placed in the root file system under /etc/systemd/system/

To reload systemd services and start on already running system: systemctl daemon-reload
To start the ioc: systemctl start emu-lebt

To automatically start the service only for the EMU host, place a script containing:
systemctl start emu-lebt
in the {path to startup file hiearchy}/boot/{emu hostname}/
It is important that you name the script so that it is executed the last. The scripts are executed in alphanumerical order.