mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
Dockerfile: Add iproute2 package to runtime images; startapp.sh: Fix exec command syntax for running Java application
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -79,4 +79,4 @@ mkdir -p "$HOME/.i2p" && chown -R i2p:i2p "$HOME/.i2p"
|
||||
|
||||
# Execute the Java application with the constructed classpath and options
|
||||
# The `exec` command replaces the shell with the Java process, ensuring that it receives signals directly and can shut down gracefully.
|
||||
exec -runuser i2p "java -cp "${CLASSPATH}" ${JAVAOPTS} ${JAVA17OPTS} net.i2p.router.RouterLaunch"
|
||||
exec runuser -u i2p -- java -cp "${CLASSPATH}" ${JAVAOPTS} ${JAVA17OPTS} net.i2p.router.RouterLaunch
|
||||
Reference in new issue
Block a user