You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
When using for example shipit for deployment, it deploys into a
releases/DATETIME
dir and generates a symlink atcurrent
; Whenforever-service
is executed in thecurrent
dir,cwd
is expaned into thereleases/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
intoprocess.env.PWD
though it's possibly platform dependent.The text was updated successfully, but these errors were encountered: