The snap format describes the autostart:
property of the application declared in snap.yaml (or snapcraft.yaml for that matter). I think it should work just fine with snapcraft 3.0, but in case you get into trouble, try placing autostart
under passthrough
.