currently i’m facing a problem with the attribute ‘restart-delay’ of my snap service.
My yaml file looks something like:
type: app grade: devel # must be 'stable' to release into candidate/stable channels confinement: strict # reduced file access to selected areas, reduced apps: uaserver: command: launch.sh plugs: [network, network-bind, process-control] # extend network rights, needed for Codesys access (restriction caused by "confinement: strict") restart-condition: always restart-delay: 5s daemon: simple # run from boot
On my system it is giving me following error when building snapcraft:
Issues while validating snapcraft.yaml: The 'apps/uaserver' property does not match the required schema: Additional properties are not allowed ('restart-delay' was unexpected) Function call "snapcraft" failed!
I have updated to newst snapd:
I tried to build it on an other system with same snap version and it worked.
Then i tried with passthrough for restart-delay and it was working also.
Do you have any ideas?
Thanks for your response.