+
Skip to content

Proposal: Allow disabling extended start script commands #927

Open
@codeadict

Description

@codeadict

We are using a custom extended start script but would love to have the one generated by relx as it will be easier to keep up to date and any contribution can benefit our project or i can contribute back any improvement to Relx. One of the limitations i've found is that is easier to extend the script with hooks/extensions but not so easy to remove commands from the existing script. For example we don't need hot code loading / upgrading releases so the following commands are extra boilerplate our users don't need:

  upgrade [Version]       Upgrade the running release to a new version
  downgrade [Version]     Downgrade the running release to a new version
  install [Version]       Install a release
  uninstall [Version]     Uninstall a release
  unpack [Version]        Unpack a release tarball
  versions                Print versions of the release available

I was wondering if this is a need someone else have faced and if relx would accept having an optional configurations like {extended_start_commands, [foreground, stop, ping]} which will default to all if not provided and that way commands could be removed from the script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载