We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added a new script to my ecosystem.config.js, upon publishing I keep getting the following error. (which sets my worker to errored).
2|worker | /bin/bash: worker.js: command not found
this is my ecosystem declaration
module.exports = { apps: [ { name: "api", script: "index.js", env_production: { "NODE_ENV": "production", "TZ": "UTC" } }, { name: "cron", script: "cron.js --no-autorestart", // This is used when starting pm2 with env --production env_production: { "NODE_ENV": "production", "TZ": "UTC" } }, { name: "worker", script: "worker.js --no-autorestart", // This is used when starting pm2 with env --production env_production: { "NODE_ENV": "production", "TZ": "UTC" } } ], deploy: { production: { ref: "origin/master", path: "/var/www/production", "post-deploy": "npm install && pm2 reload ecosystem.config.js --env production" } } };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added a new script to my ecosystem.config.js, upon publishing I keep getting the following error. (which sets my worker to errored).
this is my ecosystem declaration
The text was updated successfully, but these errors were encountered: