diff --git a/manager/install_linux.go b/manager/install_linux.go index c9529e8..9ea0f71 100644 --- a/manager/install_linux.go +++ b/manager/install_linux.go @@ -52,6 +52,12 @@ func start(conf *service.Service) error { Args: []string{"stop", name + ".service"}, Must: false, }, + Runnable{ + Exec: "systemctl", + Args: []string{"enable", name + ".service"}, + Badwords: []string{"not found", "failed"}, + Must: true, + }, Runnable{ Exec: "systemctl", Args: []string{"start", name + ".service"},