mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: use cwd when running application
This commit is contained in:
@@ -11,5 +11,6 @@ export const start = async () => {
|
||||
execSync(`${PM2_PATH} start ${join(import.meta.dirname, '../../', 'ecosystem.config.json')} --update-env`, {
|
||||
env: process.env,
|
||||
stdio: 'inherit',
|
||||
cwd: process.cwd()
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user