Since needing to handle # - setcookie the commented # -name=examples are also caught by regex.
Testing recommendations
Tested twice with when vm.args
# -cookie-cookie xxxx
sudo snap set couchdb-sklassen setcookie=cuttersudo snap set couchdb-sklassen name=couchdb1@127.0.0.1
Related Pull Requests
Handle the commented and not commented vm.arg changes separately.
I have also unset the variables after config changes. This speeds up snap set as previously set variables
no longer requires changing the file a second time.
Overview
snap
set couchdb name=xxxx
corrupts vm.args.Since needing to handle
# - setcookie
the commented# -name=examples
are also caught by regex.Testing recommendations
Tested twice with when
vm.args
# -cookie
-cookie xxxx
sudo snap set couchdb-sklassen setcookie=cutter
sudo snap set couchdb-sklassen name=couchdb1@127.0.0.1
Related Pull Requests
Handle the commented and not commented vm.arg changes separately.
I have also unset the variables after config changes. This speeds up
snap set
as previously set variables no longer requires changing the file a second time.Checklist