(cb)
| 803 | } |
| 804 | |
| 805 | function restartExistingProcessId(cb) { |
| 806 | if (isNaN(script)) return cb(null); |
| 807 | |
| 808 | that._operate('restartProcessId', script, opts, function(err, list) { |
| 809 | if (err) return cb(err); |
| 810 | Common.printOut(conf.PREFIX_MSG + 'Process successfully started'); |
| 811 | return cb(true, list); |
| 812 | }); |
| 813 | } |
| 814 | |
| 815 | /** |
| 816 | * Restart a process with the same full path |