I have created a webapi application using dotnet and snapped with the below snapcraft.yaml file :
name: testsnap4 version: '0.1' summary: A simple example snap for dotnet in snaps description: A simple example snap for dotnet in snaps grade: devel confinement: strict base: core apps: test4: command: IoT_AnalyticsCore.service parts: test4: source: . plugin: dump stage-packages: - libasn1-8-heimdal - libcurl3 - libgssapi3-heimdal - libhcrypto4-heimdal - libheimbase1-heimdal - libheimntlm0-heimdal - libhx509-5-heimdal - libkrb5-26-heimdal - libldap-2.4-2 - liblttng-ust0 - libroken18-heimdal - librtmp1 - libsasl2-2 - libunwind8 - liburcu4 - libwind0-heimdal - icu-devtools - wget - zlib1g
and after installation i have to run the snap as below :
and now i want to run this in the background. How can i do it ??
I would want the snap to be started automatically as soon as i turn on my machine. Is there any way to achieve this ?