Skip to content

Docker startapp.sh "exec -runuser..." is broken #158

Description

@HidingCherry

The currently used startapp.sh is broken, the command to run java... doesn't work as intended.
By using ` the command in those symbols will be executed, that's why java is running.
This is the same as using exec -runuser i2p $(java -cp...) <- this opens a subshell, but the user is wrong!

exec -runuser i2p `java -cp "${CLASSPATH}" ${JAVAOPTS} ${JAVA17OPTS} net.i2p.router.RouterLaunch`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions