// SPDX-FileCopyrightText: Copyright The Lima Authors1// SPDX-License-Identifier: Apache-2.023package autostart45import "github.com/lima-vm/lima/v2/pkg/autostart/systemd"67// Manager returns the autostart manager for Linux.8func Manager() autoStartManager {9if systemd.IsRunningSystemd() {10return &TemplateFileBasedManager{11filePath: systemd.GetUnitPath,12template: systemd.Template,13enabler: systemd.EnableDisableUnit,14autoStartedIdentifier: systemd.AutoStartedUnitName,15requestStart: systemd.RequestStart,16requestStop: systemd.RequestStop,17}18}19// TODO: add support for non-systemd Linux distros20return ¬SupportedManager{}21}222324