Skip to content

Commit 8fd6989

Browse files
authored
Merge pull request #2384 from afbjorklund/systemctl-now
Allow lima-guestagent to start on older systemd
2 parents 3ac4c33 + e5b9d3e commit 8fd6989

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/lima-guestagent/install_systemd_linux.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ func installSystemdAction(cmd *cobra.Command, _ []string) error {
5353
logrus.Infof("Written file %q", unitPath)
5454
args := [][]string{
5555
{"daemon-reload"},
56-
{"enable", "--now", "lima-guestagent.service"},
56+
{"enable", "lima-guestagent.service"},
57+
{"start", "lima-guestagent.service"},
5758
{"try-restart", "lima-guestagent.service"},
5859
}
5960
for _, args := range args {

0 commit comments

Comments
 (0)