Change order of @ arguments file when calling the JVM, so that they are
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 10 Jun 2021 07:16:29 +0000 (09:16 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 10 Jun 2021 07:16:29 +0000 (09:16 +0200)
all taken into account.

dist/argeo-node/base/etc/argeo.d/jvm.args.debug [new file with mode: 0644]
dist/argeo-node/rpm/usr/lib/systemd/system/argeo@.service

diff --git a/dist/argeo-node/base/etc/argeo.d/jvm.args.debug b/dist/argeo-node/base/etc/argeo.d/jvm.args.debug
new file mode 100644 (file)
index 0000000..4e6b1dc
--- /dev/null
@@ -0,0 +1 @@
+-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=127.0.0.1:8000
\ No newline at end of file
index b310048e15517e234c21b960bf20378ebc944238..c631825a27b3a5228b1ec53ce56807c24b68e3b2 100644 (file)
@@ -21,10 +21,10 @@ ExecStart=/usr/lib/jvm/jre-11/bin/java \
 -Dosgi.noShutdown=true \
 -Dorg.eclipse.equinox.http.jetty.autostart=false \
 -Dosgi.bundles=org.argeo.osgi.boot@start \
-@/usr/share/osgi/boot/framework.args \
 @/usr/share/argeo/jvm.args \
 @/etc/argeo.d/jvm.args \
 @/etc/argeo.d/%I/jvm.args \
+@/usr/share/osgi/boot/framework.args \
 -configuration /var/lib/argeo.d/%I/state \
 -data /var/lib/argeo.d/%I/data
 # Exit codes of the JVM when SIGTERM or SIGINT have been caught: