From 31ae00df42c492b7fac79f67445bb40c022a3d6c Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 12 Apr 2012 21:16:42 -0700 Subject: [PATCH] Start systemd services properly with cfn-init tool Signed-off-by: Steven Dake --- heat/cfntools/cfn-init | 1 + 1 file changed, 1 insertion(+) diff --git a/heat/cfntools/cfn-init b/heat/cfntools/cfn-init index 3337bd28..1b10a13c 100755 --- a/heat/cfntools/cfn-init +++ b/heat/cfntools/cfn-init @@ -422,6 +422,7 @@ class ServicesHandler(object): def _handle_systemd_command(self, service, command): exe = "/bin/systemctl" cmd = "" + service = '%s.service' % service if "enable" == command: cmd = "%s enable %s" % (exe, service) elif "disable" == command: -- 2.45.2