mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 20:55:47 +01:00
run plugins in the same slice as reaction
And reaction should be started in system-reaction.slice. The plugins could then be grouped together with the daemon
This commit is contained in:
parent
26cf3a96e7
commit
0cd765251a
1 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ impl Plugin {
|
|||
let mut command = Command::new("run0");
|
||||
// --pipe gives direct, non-emulated stdio access, for better performance.
|
||||
command.arg("--pipe");
|
||||
// run the command inside the same slice as reaction
|
||||
command.arg("--slice-intherit");
|
||||
|
||||
// Make path absolute for systemd
|
||||
let full_workdir = path::absolute(&plugin_working_directory)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue