In my snapcraft.yaml, I define a oneshot daemon.

  opx-init:
    command: usr/bin/opx-init
    daemon: oneshot

When I install the snap on Ubuntu-Core, I see the following in the syslog...

Feb  6 18:46:49 localhost systemd[1]:
snap.openswitch-x870.opx-init.service: Service has Restart= setting
other than no, which isn't allowed for Type=oneshot services.
Refusing.

Can anyone explain what is going wrong?  I expect Snapcraft/Snapd to
handle the systemd interactions behind the scenes...

Thanks, Mike

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to