mirror of
https://github.com/unraid/api.git
synced 2026-01-02 14:40:01 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the Node.js runtime configuration for consistent execution. - **Refactor** - Centralized the Node.js binary path into a configurable parameter for improved maintainability. - **New Features** - Introduced a new entity declaration for `NODE_DIR` to streamline Node.js binary management in the plugin. - Updated the Node.js interpreter path in the application configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1209701840918649
21 lines
634 B
JSON
21 lines
634 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/pm2-ecosystem",
|
|
"apps": [
|
|
{
|
|
"name": "unraid-api",
|
|
"script": "./dist/main.js",
|
|
"cwd": "/usr/local/unraid-api",
|
|
"exec_mode": "fork",
|
|
"wait_ready": true,
|
|
"listen_timeout": 15000,
|
|
"max_restarts": 10,
|
|
"min_uptime": 10000,
|
|
"watch": false,
|
|
"interpreter": "/usr/local/bin/node",
|
|
"ignore_watch": ["node_modules", "src", ".env.*", "myservers.cfg"],
|
|
"log_file": "/var/log/graphql-api.log",
|
|
"kill_timeout": 10000
|
|
}
|
|
]
|
|
}
|