From: Steven Dake Date: Fri, 13 Apr 2012 04:16:42 +0000 (-0700) Subject: Start systemd services properly with cfn-init tool X-Git-Tag: 2014.1~2036 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=31ae00df42c492b7fac79f67445bb40c022a3d6c;p=openstack-build%2Fheat-build.git Start systemd services properly with cfn-init tool Signed-off-by: Steven Dake --- 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: