From 071c3d7ab33237610eed0311249308b169f5ca5f Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Mon, 25 Nov 2024 14:07:28 +0900 Subject: [PATCH] fix: start-at-login generating systemd target Signed-off-by: Kenichi Kamiya --- pkg/autostart/autostart_test.go | 2 +- pkg/autostart/lima-vm@INSTANCE.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/autostart/autostart_test.go b/pkg/autostart/autostart_test.go index 3bc905bdb3c..58b8fb394dc 100644 --- a/pkg/autostart/autostart_test.go +++ b/pkg/autostart/autostart_test.go @@ -70,7 +70,7 @@ TimeoutSec=10 Restart=on-failure [Install] -WantedBy=multi-user.target`, +WantedBy=default.target`, GetExecutable: func() (string, error) { return "/limactl", nil }, diff --git a/pkg/autostart/lima-vm@INSTANCE.service b/pkg/autostart/lima-vm@INSTANCE.service index af01854cb23..b22d03ba2d9 100644 --- a/pkg/autostart/lima-vm@INSTANCE.service +++ b/pkg/autostart/lima-vm@INSTANCE.service @@ -10,4 +10,4 @@ TimeoutSec=10 Restart=on-failure [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=default.target \ No newline at end of file