Git initial commit

This commit is contained in:
lhahn committed 2024-07-23 19:06:31 +02:00
commit 565754b11c
10 files changed
+226

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=nexus service
After=network.target
[Service]
Type=forking
LimitNOFILE=65536
Environment="JAVA_HOME={{ nexus_java_home }}"
ExecStart={{ nexus_link }}/bin/nexus start
ExecStop={{ nexus_link }}/bin/nexus stop
User={{ nexus_usr }}
Restart=on-abort
TimeoutSec=600
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,12 @@
# Jetty section
application-port={{ nexus_http_port }}
application-host={{ nexus_http_host }}
# nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-requestlog.xml
nexus-context-path=/
# Nexus section
# nexus-edition=nexus-pro-edition
# nexus-features=\
# nexus-pro-feature
# nexus.hazelcast.discovery.isEnabled=true
+40
View File
@@ -0,0 +1,40 @@
-Xms{{ nexus_javaheap_min | default('2703m') }}
-Xmx{{ nexus_javaheap_max | default('2703m') }}
-XX:MaxDirectMemorySize={{ nexus_javaheap_directmax | default('2703m') }}
-XX:+UnlockDiagnosticVMOptions
-XX:+LogVMOutput
-XX:LogFile={{ nexus_home }}/nexus3/log/jvm.log
-XX:-OmitStackTraceInFastThrow
-Djava.net.preferIPv4Stack=true
-Dkaraf.home=.
-Dkaraf.base=.
-Dkaraf.etc=etc/karaf
-Djava.util.logging.config.file=etc/karaf/java.util.logging.properties
-Dkaraf.data={{ nexus_home }}/nexus3
-Dkaraf.log={{ nexus_home }}/nexus3/log
-Djava.io.tmpdir={{ nexus_home }}/nexus3/tmp
-Dkaraf.startLocalConsole=false
-Djdk.tls.ephemeralDHKeySize=2048
#
# additional vmoptions needed for Java9+
#
# --add-reads=java.xml=java.logging
# --add-exports=java.base/org.apache.karaf.specs.locator=java.xml,ALL-UNNAMED
# --patch-module java.base=${KARAF_HOME}/lib/endorsed/org.apache.karaf.specs.locator-4.3.2.jar
# --patch-module java.xml=${KARAF_HOME}/lib/endorsed/org.apache.karaf.specs.java.xml-4.3.2.jar
# --add-opens java.base/java.security=ALL-UNNAMED
# --add-opens java.base/java.net=ALL-UNNAMED
# --add-opens java.base/java.lang=ALL-UNNAMED
# --add-opens java.base/java.util=ALL-UNNAMED
# --add-opens java.naming/javax.naming.spi=ALL-UNNAMED
# --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED
# --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED
# --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED
# --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED
# --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED
# --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED
# --add-exports java.security.sasl/com.sun.security.sasl=ALL-UNNAMED
#
# comment out this vmoption when using Java9+
#
-Djava.endorsed.dirs=lib/endorsed