Skip to content

runInBinDir and {{BIN_DIR}} are inconsistent #106

Open

Description

@Vampire

If you set runInBinDir to true, the start script does not actually cd into the bin dir, but to the place where the startscript is stored (which is good).
But the {{BIN_DIR}} variable is replaced by $APP_HOME/bin or %APP_HOME%\\bin.

This is a bit inconsistent and actually the naming of runInBinDir is slightly off.

I don't know how to best solve this, as changing either would be a breaking change.
Maybe it would be a good idea to deprecate runInBinDir and replace it by runInStartscriptDir or some better name or have a more flexible option that allows to configure where exactly the process is started.

Activity

  1. Vampire commented on Jan 8, 2022

    @Vampire
    Author

    It's actually even worse and more inconsistent.
    The Windows start scripts run it within the start script containing directory.
    The Linux start script runs it within the BIN_DIR.
    O_O

  2. satsen commented on Jan 9, 2022

    @satsen

    @Vampire This plugin seems to have many issues and flaws and the maintainer seems to have gone quite inactive.. I don't think any problems will be fixed

  3. siordache commented on Jan 23, 2022

    @siordache
    Member

    @Vampire This plugin seems to have many issues and flaws and the maintainer seems to have gone quite inactive.. I don't think any problems will be fixed

    Unfortunately, this is true. I no longer have time to properly maintain this plugin.
    Is anyone interested in becoming the new maintainer of this project? Just drop a line here or send me an email.

  4. added
    bug
    on Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions