Skip to content

Commit

Permalink
Merge pull request #813 from stgraber/main
Browse files Browse the repository at this point in the history
incus-agent: Fix systemd unit name under LXD
  • Loading branch information
monstermunchkin authored Feb 2, 2024
2 parents 6ee918d + fc0cbef commit b8491c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/incus-agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b8491c1

Please sign in to comment.