init: Convert vesad, fbbootlogd and fbcond to services

This commit is contained in:
bjorn3
2026-02-26 16:35:54 +01:00
parent e55bd17530
commit 3d2951a23d
11 changed files with 97 additions and 11 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
use std::collections::BTreeMap;
use std::collections::{BTreeMap, BTreeSet};
use std::{env, io, iter};
use crate::service::{Service, ServiceType};
@@ -66,6 +66,7 @@ impl Command {
cmd: process.cmd,
args: process.args,
envs: process.envs,
inherit_envs: BTreeSet::new(),
type_: ServiceType::Notify,
}))
}
@@ -80,6 +81,7 @@ impl Command {
cmd: process.cmd,
args: process.args,
envs: process.envs,
inherit_envs: BTreeSet::new(),
type_: ServiceType::Scheme(scheme),
}))
}
@@ -90,6 +92,7 @@ impl Command {
cmd: process.cmd,
args: process.args,
envs: process.envs,
inherit_envs: BTreeSet::new(),
type_: ServiceType::OneshotAsync,
}))
}
@@ -100,6 +103,7 @@ impl Command {
cmd: process.cmd,
args: process.args,
envs: process.envs,
inherit_envs: BTreeSet::new(),
type_: ServiceType::Oneshot,
}))
}