Problem with Discover when started as a system-service on Linux

Hi!
We are trying to start our camera-application as a automatic system-service on Linux (Ubuntu 20.04) at boot-time but the Discover fails to find any cameras!
Starting the camera-application as a logged in user is working OK…

The system-service is configured to “require” the siGevSvc.service to be started…
Also tried to debug-log but found nothing strange!
Any clues?

Seems to work when adding the environment to the service (configuration):
Environment = CVB=/opt/cvb CVBDATA=/var/opt/cvb CVBCONFIG=/etc/opt/cvb GENICAM_GENTL64_PATH=/opt/cvb/drivers/genicam CVGENICAM_REGISTRY=/var/opt/cvb/Registry

Hi @IngFra ,

This is exactly what was missing. Thanks for pointing that out directly here.

Btw, what does the siGetSvc-service do?

The siGevSvc is used for the GigE Vision communication between the application and the device. Including the detection if the camera or the application is still alive.

1 Like