forever kill pid code example
Example 1: forever kill pid
forever list
data: [0] 6pf0 /usr/bin/node index.js 22912 22919 /root/.forever/6pf0.log 13:0:34:50.46699999994598
data: [1] _tf5 /usr/bin/node index.js 23220 23227 /root/.forever/_tf5.log 13:0:34:38.924000000115484
data: [2] 6pVb /usr/bin/node index.js 23271 23278 /root/.forever/6pVb.log 13:0:34:27.212999999988824
forever kill 0
Example 2: forever kill pid
forever list
data: [0] 6pf0 /usr/bin/node index.js 22912 22919 /root/.forever/6pf0.log 13:0:34:50.46699999994598
data: [1] _tf5 /usr/bin/node index.js 23220 23227 /root/.forever/_tf5.log 13:0:34:38.924000000115484
data: [2] 6pVb /usr/bin/node index.js 23271 23278 /root/.forever/6pVb.log 13:0:34:27.212999999988824
forever kill 0