Skip to content

Commit

Permalink
Fix unit unsandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jul 14, 2024
1 parent 94141a4 commit 261677f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executor/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class UnitExecutor {
}
return {
app_start_command: config.arguments[2],
app_root: config.working_directory.split('/').slice(2).join('/'),
app_root: config.working_directory.split('/').slice(3).join('/'),
env_var_list: Object.entries(config.environment || {}).map(([k, v]) => `${k}=${v}`)
}
}
Expand Down

0 comments on commit 261677f

Please sign in to comment.