mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
25 lines
593 B
Plaintext
25 lines
593 B
Plaintext
|
|
|
|
// var rpcCall = 'findByScript';
|
|
// var rpcArg = p.basename(appPaths.script);
|
|
|
|
// //find script by port
|
|
// if (appPaths.port) {
|
|
// rpcCall = 'findByPort';
|
|
// rpcArg = appPaths.port;
|
|
// }
|
|
|
|
// Satan.executeRemote(rpcCall, rpcArg, function(err, exec) {
|
|
// if (exec && !opts.force) {
|
|
// printError('Script already launched, add -f option to force re execution');
|
|
// nextApp();
|
|
// return false;
|
|
// } else {
|
|
// launchApp(appPaths);
|
|
// return false;
|
|
// }
|
|
// });
|
|
|
|
// return false;
|
|
// })(appConf);
|