Skip to content

support for different dist operations #58

Description

@rsgalloway

some services like systemd are very finicky about file names and links, and will not work with distman symlinks, for example this will not work with systemd:

/etc/systemd/system/app.service -> versions/app.service.0.abc123

because the link target is named app.service.0.abc123 (it has to send in .service).

how to handle this?

  • option 1: support different dist operations, like copy, hardlnk, etc
  • option 2: dist a folder, and link into the folder:
        "services": {
            "source": "services",
            "destination": "{DEPLOY_ROOT}/services",
            "new directive here": {..}
        },

so that it would create:

/etc/systemd/system/myapp.service -> ${DEPLOY_ROOT}/versions/services.0.abc123/myapp.service

this could potentially depend on #55

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions