wojnicki opened a new issue #83: URL: https://github.com/apache/couchdb-pkg/issues/83
<!--- Provide a general summary of the issue in the Title above --> As of CouchDB 2.3 the only way to configure query servers and their parameters is to use environment variables (see https://docs.couchdb.org/en/main/config/query-servers.html). A common usage is to reconfigure maximum memory allocation for the javascript server by using: COUCHDB_QUERY_SERVER_JAVASCRIPT="/usr/bin/couchjs -S 536870912 /usr/share/server/main.js" (as explained at: https://docs.couchdb.org/en/main/config/query-servers.html) ## Expected Behavior <!--- If you're describing a bug, tell us what should happen --> <!--- If you're suggesting a change/improvement, tell us how it should work --> There should be a way to pass environment variables while starting a snap service. ## Current Behavior <!--- If describing a bug, tell us what happens instead of the expected behavior --> <!--- If suggesting a change/improvement, explain the difference from current behavior --> Currently there is no way to pass an environment variable to a snap application. Hence there is no way to reconfigure or add query servers. ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> <!--- or ideas how to implement the addition or change --> An additional file in /var/snap/couchdb/9/etc/ that could hold the environment variables. It could be sourced upon startup. ## Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * Version used: 3.1.1, rev 9 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org