mirror of
https://github.com/unraid/api.git
synced 2026-01-01 22:20:05 -06:00
feat: exit after running status
This commit is contained in:
@@ -3,4 +3,5 @@ import { execSync } from 'child_process';
|
||||
|
||||
export const status = async () => {
|
||||
execSync(`${PM2_PATH} status unraid-api`, { stdio: 'inherit' });
|
||||
process.exit(0);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user