Snap autostart

Hello,

 

I have a snap that contains three applications that needs to be started in order with sometime in between. What is the best way to autostart these apps and give it the correct order. The autostart should happen when the PLC is started or restarted.

I tried autostart within passthrough, but this seems not to work, maybe I am missing some options that I can't find online either.

 

Thanks in advanced

 

Regards,

Osama

Best reply by nickH

Hi Osama,

I'm sorry. I misunderstood your question. When you first said start of the PLC, I thought you are referring to the PLC-App. 

When you define your application as daemon: simple it will get started after installation of the app and also on reboot of the ctrlX CORE. The restart conditions you defined will start the application, in case it gets stopped. 

Some more information on that can be found in the snapcraft yaml reference.

Could you check via command line, if your snap is really not running?

Best regards, 

Nick

 

View original
6 replies