rnewson commented on code in PR #149:
URL: https://github.com/apache/couchdb-pkg/pull/149#discussion_r1745562798
##########
rpm/SOURCES/couchdb-nouveau.service:
##########
@@ -4,8 +4,8 @@ Wants=network-online.target
After=network-online.target
[Service]
-Environment="JAVA_OPTS=-server"
-ExecStart=/opt/couchdb/nouveau/bin/nouveau server /opt/couchdb/etc/nouveau.yaml
+EnvironmentFile=/etc/sysconfig/couchdb-nouveau
+ExecStart=/bin/sh -c "exec /usr/bin/java ${JAVA_OPTS} -jar
/opt/couchdb/nouveau/lib/nouveau-*.jar server /opt/couchdb/etc/nouveau.yaml"
Review Comment:
it's mostly to allow folks to use _newer_ jdk's than their OS comes with
(especially as Lucene gets some performance boosts in 19 and 22 or so around
disk io)
--
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]