I am using forever
npm module for to run scripts forever. I was trying to change columns order on list command using
forever set columns ['uid','command','dir','script','forever','pid','id','logfile','uptime']
But forever takes value as string type instead of array type:
info: Setting forever config: columns
data: {
data: root: '/root/.forever',
data: pidPath: '/root/.forever/pids',
data: sockPath: '/root/.forever/sock',
data: loglength: 100,
data: logstream: false,
data: columns: '[uid,command,dir,script,forever,pid,id,logfile,uptime]' <--- String type
data: }
Hence on running list command now, I am getting this error:
/usr/local/lib/node_modules/forever/lib/forever.js:791
return [prefix].concat(columns.map(mapFn));
There are couple of things I need help about:
- How to undo this?
- How to change column order?
via Aman Gupta
No comments:
Post a Comment