Thanks Jeff,
I followed your instructions to check the behavior of the custom application and found files that the custom application was unable to access when the conduit restarted.
The custom application I created was created with reference to app-connect.py (https://github.com/MultiTechSystems/lorawan-app-connect).
In app-connect.py run “query = os.popen(‘lora-query -x session list json file /tmp/sessions.json’)” on L330.
The custom application does the same thing.
The inability to access ‘/tmp/sessions.json’ was causing problems when the conduit was restarted.
After adding “query.readlines()” before opening the file (L331), the custom application worked fine after restarting the conduit.
Thanks Bart,
I follow Reference (https://www.multitech.net/developer/software/aep/creating-a-custom-application/) to create a tar.gz file and install the custom application from the [Apps] tab on the Conduit website.
After following Jeff’s instructions and checking the application’s behavior, I found a file that the custom application application was unable to access. By modifying the source code, the custom application works fine even after restarting conduit.