From 60ab4222de263a969a4050d6c7999406282b3ccb Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Sat, 24 May 2014 00:38:29 -0700 Subject: [PATCH] fix(update): locksmith service does not need disabling/enabling --- initialize/update.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/initialize/update.go b/initialize/update.go index 2e33731..2a9eb31 100644 --- a/initialize/update.go +++ b/initialize/update.go @@ -136,13 +136,11 @@ func (uc UpdateConfig) Unit(root string) (*system.Unit, error) { u := &system.Unit{ Name: locksmithUnit, - Enable: true, Command: "restart", Mask: false, } if strategy == "off" { - u.Enable = false u.Command = "stop" u.Mask = true }