Skip to content

Commit

Permalink
[FIX] getServerPid when using systemd as supervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
katyukha committed Jan 22, 2025
1 parent bcc605d commit 0cf1ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subpackages/lib/source/odood/lib/server/server.d
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ struct OdooServer {
.withArgs("show", "--property=MainPID", "--value", "odoo")
.execute
.ensureOk(true)
.output.to!pid_t;
.output.strip.to!pid_t;
}
}

Expand Down

0 comments on commit 0cf1ede

Please sign in to comment.