hive-priv: write a configured stable exe path into unit drop-ins
HIVE_PRIV_EXE, set by the module to the /run/hive-rootfs-check link, is checked at start and used for the drop-in's ExecStartPre. Without it the running binary's path is used as before, and an unlinked one gets an error that names the cause.
This commit is contained in:
parent
cb7a9badf7
commit
ca51bb9d54
1 changed files with 172 additions and 41 deletions
|
|
@ -76,6 +76,7 @@ async fn main() -> Result<()> {
|
|||
// they land in victorialogs as raw byte-array spam otherwise.
|
||||
.with_ansi(false)
|
||||
.init();
|
||||
container_config::init_exe()?;
|
||||
|
||||
let listener = socket_listener()?;
|
||||
if let Err(e) = files::remove_legacy_tmpfiles() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue