I was referring to this part of the doc https://snapcraft.io/docs/snap-format to build my snap.yaml file and I found that a bunch of options triggered an error in snap, I wonder if the documentation is not uptodate, or if thoses options are deprecated, or is there a new way to use those features ? Here is a list :
base: core16 (does not work in my case snap 2.41 ubuntu 16.04LTS)
restart-delay :1s β triggers an error
refresh-mode:skip-refresh | restart β seems to be changed to endure | restart
How exactly does this not work for you? Also note that if you want an Ubuntu 16.04 based rootfs, you should use base: core (core operates as core16 for now)
This option is for an individual app in the snap, not for the root level snapcraft.yaml. Use it like this: