From fc0cbefc44b1002c23d703445ade31b09d8ca795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Fri, 2 Feb 2024 15:52:20 +0100 Subject: [PATCH] incus-agent: Fix systemd unit name under LXD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- generators/incus-agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/incus-agent.go b/generators/incus-agent.go index 0532bc1e..f12e59d7 100644 --- a/generators/incus-agent.go +++ b/generators/incus-agent.go @@ -169,7 +169,7 @@ StartLimitBurst=10 incusAgentRules := `SYMLINK=="virtio-ports/org.linuxcontainers.incus", TAG+="systemd", ENV{SYSTEMD_WANTS}+="incus-agent.service" # Legacy. -SYMLINK=="virtio-ports/org.linuxcontainers.lxd", TAG+="systemd", ENV{SYSTEMD_WANTS}+="lxd-agent.service" +SYMLINK=="virtio-ports/org.linuxcontainers.lxd", TAG+="systemd", ENV{SYSTEMD_WANTS}+="incus-agent.service" ` err = os.WriteFile(filepath.Join(g.sourceDir, udevPath, "99-incus-agent.rules"), []byte(incusAgentRules), 0400) if err != nil {