Hold an archive, a process's unit and a user found on an adopted node for an untaken module (hq ADR 0103)

This commit is contained in:
2026-09-22 18:32:20 +02:00
parent 491e04fb8f
commit aef4993d10
3 changed files with 134 additions and 2 deletions
+3 -2
View File
@@ -32,8 +32,9 @@ import (
// owners end up disagreeing about one path.
const daemonRoot = "/var/lib/mesh/daemons"
// unitDir is where the mesh writes the units it owns.
const unitDir = "/etc/systemd/system"
// unitDir is where the mesh writes the units it owns. A variable only so a test can point it at a
// directory of its own.
var unitDir = "/etc/systemd/system"
func applyProcess(ctx context.Context, r *declaration.Process, run Runner,
changed map[string]bool, previous store.Applied) (Outcome, error) {