start engine before client

XiaoGuo Liu xiaoguo.liu at canonical.com
Mon Feb 13 00:44:09 UTC 2017


I think you can just make a script. Inside the script, launch the engine
first, then start the player client. You just need one app which launches
your created script.

Best regards,
xiaoguo

On Fri, Feb 10, 2017 at 9:08 PM, Vasilisc <vasilisc777 at gmail.com> wrote:

> The program "app1" is not mine. It consists of two parts.
>
> I create snapcraft.yaml
> --------------------------------
> apps:
>  engine:
>   command: $SNAP/opt/app1/engine --start
>   plugs: [home, unity7, x11, pulseaudio, network, network-bind]
>
>  player:
>   command: $SNAP/opt/app1/player "$@"
>   plugs: [home, unity7, x11, pulseaudio, network, network-bind]
> --------------------------------
>
> If to launch an engine (app1.engine) and then the client (app1.player),
> then everything works perfectly. How to make that start of the client
> automatically launched an engine?
>
> Sorry for my english.
> --
> Best regards,
> vasilisc
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>



-- 
XiaoGuo, Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170213/b330b8da/attachment.html>


More information about the Snapcraft mailing list