nickva commented on issue #142:
URL: https://github.com/apache/couchdb-pkg/issues/142#issuecomment-2245682119

   That's a good ideal solution. Initially I think we were going with an 
intermediate solution if this one proved too difficult.
   
   All the artifacts in one RPM, with both a couchdb service unit file and 
nouveau unit service file. 
   
   By default couchdb service is enabled and nouveau disabled. Configuration 
can be altered at install time via a environment variable like we do with a 
COUCHDB_COOKIE.
      * By default, just couchdb and nouveau disabled: no change from current 
setup: `COUCHDB_COOKIE ... rpm -i ...`
      * Enable couchdb and nouveau: `COUCHDB_NOUVEAU_SERVICE=1 ... rpm -i ...` 
or 
      * Just nouveau as standalone: `COUCHDB_SERVICE=0 
COUCHDB_NOUVEAU_SERVICE=1 ... rpm -i ...`
    If nouveau is enabled but a compatible JVM is not installed it will stop 
with an error message.
   
   At runtime users can then enable either service at will via systemd unit 
commands `systemctl enable ...`


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to