Skip to content

cwd in script is expanded to real path for symlinks #89

@azatoth

Description

@azatoth

When using for example shipit for deployment, it deploys into a releases/DATETIME dir and generates a symlink at current; When forever-service is executed in the currentdir, cwd is expaned into the releases/DATETIME and thus having the realpath encoded in the init script, resulting in having to delete and regenerate the scripts for each deployment.

Might be possible to change process.cwd into process.env.PWD though it's possibly platform dependent.

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