mirror of
https://github.com/severian-dev/sucker.severian.dev.git
synced 2025-10-27 20:25:47 +00:00
13 lines
293 B
JavaScript
13 lines
293 B
JavaScript
/**
|
|
* Get compatible PM2 app config object with automatic support for .nvmrc,
|
|
* port allocation, and debug mode.
|
|
*/
|
|
module.exports = {
|
|
apps: (function () {
|
|
let nodeapp = require("/usr/local/hestia/plugins/nodeapp/nodeapp.js")(
|
|
__filename
|
|
);
|
|
return [nodeapp];
|
|
})(),
|
|
};
|