{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/PM2/issues/1260","labels_url":"https://api.github.com/repos/Unitech/PM2/issues/1260/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/PM2/issues/1260/comments","events_url":"https://api.github.com/repos/Unitech/PM2/issues/1260/events","html_url":"https://github.com/Unitech/PM2/issues/1260","id":75555557,"number":1260,"title":"env args superseed ecosystem.json args","user":{"login":"thunderace","id":1292729,"avatar_url":"https://avatars.githubusercontent.com/u/1292729?v=3","gravatar_id":"","url":"https://api.github.com/users/thunderace","html_url":"https://github.com/thunderace","followers_url":"https://api.github.com/users/thunderace/followers","following_url":"https://api.github.com/users/thunderace/following{/other_user}","gists_url":"https://api.github.com/users/thunderace/gists{/gist_id}","starred_url":"https://api.github.com/users/thunderace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thunderace/subscriptions","organizations_url":"https://api.github.com/users/thunderace/orgs","repos_url":"https://api.github.com/users/thunderace/repos","events_url":"https://api.github.com/users/thunderace/events{/privacy}","received_events_url":"https://api.github.com/users/thunderace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jshkurti","id":7647602,"avatar_url":"https://avatars.githubusercontent.com/u/7647602?v=3","gravatar_id":"","url":"https://api.github.com/users/jshkurti","html_url":"https://github.com/jshkurti","followers_url":"https://api.github.com/users/jshkurti/followers","following_url":"https://api.github.com/users/jshkurti/following{/other_user}","gists_url":"https://api.github.com/users/jshkurti/gists{/gist_id}","starred_url":"https://api.github.com/users/jshkurti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshkurti/subscriptions","organizations_url":"https://api.github.com/users/jshkurti/orgs","repos_url":"https://api.github.com/users/jshkurti/repos","events_url":"https://api.github.com/users/jshkurti/events{/privacy}","received_events_url":"https://api.github.com/users/jshkurti/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-12T10:32:47Z","updated_at":"2015-05-21T14:25:15Z","closed_at":null,"body":"When args is set in starting shell env, ecosystem args is ignored.\r\nExample : \r\nshell env : \r\nthunder@debianServer:/media/data/home/thunder$ env\r\nMAIL=/var/mail/thunder\r\n../..\r\nvizion=true\r\nHOME=/home/thunder\r\nSHLVL=5\r\nargs=-b,-p,3132,-w,/media/data/home/thunder,-l,0.0.0.0,-a,:\r\n../..\r\n\r\nwith this domo.json file : \r\n{\r\n  \"apps\" : [{\r\n    \"name\"        : \"ArDomo2\",\r\n    \"script\"      : \"nodes/domoSerial/domoSerial.js\",\r\n    \"args\"        : \"['--node=ArDomo2']\",\r\n    \"cwd\"         : \"/home/thunder/repo.git/domo.mqtt\",\r\n    \"log_date_format\"  : \"YYYY-MM-DD HH:mm Z\",\r\n    \"pid_file\"   : \"/home/thunder/.pm2/pids/ArDomo2.pid\",\r\n    \"error_file\" : \"/home/thunder/.pm2/logs/ArDomo2-err.log\",\r\n    \"out_file\"   : \"/home/thunder/.pm2/logs/ArDomo2-out.log\",\r\n    \"merge_logs\"  : true\r\n  }]\r\n}\r\npm2 start domo.json \r\ndomoSerial.js recieve these args : -b,-p,3132,-w,/media/data/home/thunder,-l,0.0.0.0,-a,: and not --node=ArDomo2"},"comment":{"url":"https://api.github.com/repos/Unitech/PM2/issues/comments/104295674","html_url":"https://github.com/Unitech/PM2/issues/1260#issuecomment-104295674","issue_url":"https://api.github.com/repos/Unitech/PM2/issues/1260","id":104295674,"user":{"login":"jshkurti","id":7647602,"avatar_url":"https://avatars.githubusercontent.com/u/7647602?v=3","gravatar_id":"","url":"https://api.github.com/users/jshkurti","html_url":"https://github.com/jshkurti","followers_url":"https://api.github.com/users/jshkurti/followers","following_url":"https://api.github.com/users/jshkurti/following{/other_user}","gists_url":"https://api.github.com/users/jshkurti/gists{/gist_id}","starred_url":"https://api.github.com/users/jshkurti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshkurti/subscriptions","organizations_url":"https://api.github.com/users/jshkurti/orgs","repos_url":"https://api.github.com/users/jshkurti/repos","events_url":"https://api.github.com/users/jshkurti/events{/privacy}","received_events_url":"https://api.github.com/users/jshkurti/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T14:25:15Z","updated_at":"2015-05-21T14:25:15Z","body":"Can you try it with `npm i -g git://github.com/Unitech/PM2#development` ?\r\nI think this might have been fixed."}}