mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
Fix merging of systemd options
This commit is contained in:
parent
5a030ffb7e
commit
3c20d8f008
1 changed files with 3 additions and 2 deletions
|
|
@ -162,9 +162,10 @@ impl Plugin {
|
|||
let mut command = Command::new("run0");
|
||||
// --pipe gives direct, non-emulated stdio access, for better performance.
|
||||
command.arg("--pipe");
|
||||
self.systemd_setup(&plugin_working_directory);
|
||||
|
||||
let merged_systemd_options = self.systemd_setup(&plugin_working_directory);
|
||||
// run0 options
|
||||
for (option, values) in self.systemd_options.iter() {
|
||||
for (option, values) in merged_systemd_options.iter() {
|
||||
for value in values.iter() {
|
||||
command.arg("--property").arg(format!("{option}={value}"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue