Skip to content

Commit

Permalink
Fix: add working directory for the child scheduler.
Browse files Browse the repository at this point in the history
  • Loading branch information
thebracket committed Feb 28, 2025
1 parent 62cbf2c commit b9ae770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rust/lqosd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ fn launch_scheduler() {
info!("Launching scheduler");
std::thread::Builder::new().name("Scheduler".to_string()).spawn(move || {
let child = Command::new("/usr/bin/python3")
.current_dir("/opt/libreqos/src")
.args(&["/opt/libreqos/src/scheduler.py"])
.spawn();
if let Err(e) = child {
Expand Down

0 comments on commit b9ae770

Please sign in to comment.