mirror of
https://github.com/unraid/api.git
synced 2026-01-05 08:00:33 -06:00
chore: rename unraid-supervisor -> unsupervisor
This commit is contained in:
@@ -211,7 +211,7 @@ const bindExitHook = async () => {
|
||||
const startSupervisor = async () => {
|
||||
logger.debug('Starting supervisor');
|
||||
await bindExitHook();
|
||||
await killOldProcesses('supervisor', 'unraid-supervisor');
|
||||
await killOldProcesses('supervisor', 'unsupervisor');
|
||||
await killOldProcesses('unraid-api', 'unraid-api');
|
||||
await startApi();
|
||||
};
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"build-cli": "npx tsup ./app/cli.ts",
|
||||
"build-supervisor": "npx tsup ./app/supervisor.ts",
|
||||
"build-binary-step-1": "nexe --input ./dist/cli.js --output ./bin/unraid-api --make=\"-j$(nproc 2> /dev/null || echo 1)\" -r './dist/**/*' -r './node_modules/**/*' && echo '✔ Binary built: ./bin/unraid-api'",
|
||||
"build-binary-step-2": "nexe --input ./dist/supervisor.js --output ./bin/unraid-supervisor --make=\"-j$(nproc 2> /dev/null || echo 1)\" && echo '✔ Binary built: ./bin/unraid-supervisor'",
|
||||
"build-binary-step-2": "nexe --input ./dist/supervisor.js --output ./bin/unsupervisor --make=\"-j$(nproc 2> /dev/null || echo 1)\" && echo '✔ Binary built: ./bin/unsupervisor'",
|
||||
"build-binary-step-3": "rm -rf ./node_modules && rm -rf ./dist && echo '✔ Source files deleted'",
|
||||
"build-binary": "npm run build-binary-step-1 && npm run build-binary-step-2 && npm run build-binary-step-3",
|
||||
"copy-schemas": "cpx app/**/*.graphql dist/types",
|
||||
|
||||
Reference in New Issue
Block a user