git.delta.rocks / remowt / refs/commits / 8b18e8b236d4

difftreelog

fix avoid dashes in unit name

knlmzmlpYaroslav Bolyukin2026-06-15parent: #1144764.patch.diff
in: trunk

3 files changed

modifiedCargo.lockdiffbeforeafterboth
before · Cargo.lock
330 packageslockfile v4
modifiedCargo.tomldiffbeforeafterboth
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,18 +3,18 @@
 resolver = "2"
 
 [workspace.package]
-version = "0.1.8"
+version = "0.1.9"
 license = "MIT"
 edition = "2021"
 repository = "https://git.delta.rocks/r/remowt"
 
 [workspace.dependencies]
-remowt-client = { version = "0.1.8", path = "crates/remowt-client" }
-remowt-polkit-shared = { version = "0.1.8", path = "crates/polkit-shared" }
-remowt-link-shared = { version = "0.1.8", path = "crates/remowt-link-shared" }
-remowt-plugin = { version = "0.1.8", path = "crates/remowt-plugin" }
-remowt-ui-prompt = { version = "0.1.8", path = "crates/remowt-ui-prompt" }
-remowt-endpoints = { version = "0.1.8", path = "crates/remowt-endpoints" }
+remowt-client = { version = "0.1.9", path = "crates/remowt-client" }
+remowt-polkit-shared = { version = "0.1.9", path = "crates/polkit-shared" }
+remowt-link-shared = { version = "0.1.9", path = "crates/remowt-link-shared" }
+remowt-plugin = { version = "0.1.9", path = "crates/remowt-plugin" }
+remowt-ui-prompt = { version = "0.1.9", path = "crates/remowt-ui-prompt" }
+remowt-endpoints = { version = "0.1.9", path = "crates/remowt-endpoints" }
 
 bifrostlink = "0.2.0"
 bifrostlink-macros = "0.2.0"
modifiedcrates/remowt-client/src/lib.rsdiffbeforeafterboth
--- a/crates/remowt-client/src/lib.rs
+++ b/crates/remowt-client/src/lib.rs
@@ -436,10 +436,9 @@
 				args.extend(flags.iter().copied().map(str::to_owned));
 				if tool == "run0" {
 					args.push(format!(
-						"--unit={}-{}-{}.scope",
+						"--unit={}-{}.service",
 						self.0.user,
-						std::process::id(),
-						Uuid::new_v4()
+						Uuid::new_v4().simple()
 					));
 				}
 				args.push(agent_path);