Closed farshidtz closed 1 year ago
The security=false option was used to disable security and re-start all the services. This relied on the default autostart=true to start the non-sec services after stopping all. See https://github.com/edgexfoundry/edgex-go/blob/ce5d24036f637d84b811de065aa37bd3eaf3c7fe/snap/local/helper-go/configure.go#L98-L111
security=false
autostart=true
That logic no longer fully works by default because the service are no longer started by default as of https://github.com/edgexfoundry/edgex-go/pull/4552
Manually starting services with snap start will also start the unwanted security services.
This PR uses the following workaround:
sudo snap set edgexfoundry security=false sudo snap set edgexfoundry autostart=true
The
security=false
option was used to disable security and re-start all the services. This relied on the defaultautostart=true
to start the non-sec services after stopping all. See https://github.com/edgexfoundry/edgex-go/blob/ce5d24036f637d84b811de065aa37bd3eaf3c7fe/snap/local/helper-go/configure.go#L98-L111That logic no longer fully works by default because the service are no longer started by default as of https://github.com/edgexfoundry/edgex-go/pull/4552
Manually starting services with snap start will also start the unwanted security services.
This PR uses the following workaround: