Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Add subprocess execution for kd update, to enable migration code #8517

Open

Description

@leeola

Because kd is a user called binary and not a daemon itself,kd update is not able to run new code after the new kd binary is updated. This means that if you wanted to change a config/etc, you would not be able to via the user calling kd update.

Instead, kd update should download the new kd binary, and subprocess the rest of the update procedure. This could be as simple as making kd update only download the binary, and then calls kd update --continue (example flag), which will run the rest of the update procedure. This way you can migrate file locations, configs, database, as has been needed in the past.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. changed the title [-]kd: Add subprocess execution for `kd update`, to enable migration code[/-] [+]Add subprocess execution for `kd update`, to enable migration code[/+] on Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions