I’m running a CVB-powered application as a Linux service (systemd, Ubuntu, Genie Nano C1940, GigE, C+±app). The service is configured to restart on crash automatically. Unfortunately this only works in some cases. If the application crashes non-gracefully it is sometimes not capable to restart as the cameras are still blocked (visible in GenICam-browser). Restartung the siGevSvc.service releases the cameras and allows accessing them again.
Does anybody have an idea how to release the cameras programmatically (C++) on program-start or how to restart the siGevSvc.service within the Linux-service for my app on restart?