diff options
author | AbhishekKr <abhikumar163@gmail.com> | 2016-06-29 04:11:49 +0530 |
---|---|---|
committer | AbhishekKr <abhikumar163@gmail.com> | 2016-06-29 04:11:49 +0530 |
commit | 58e147a9dfa331c359df2c9a2bcc53a27a722ef5 (patch) | |
tree | 0502c5ac204d84a063aa10060cc14bc4909a1729 /lib | |
parent | 5c76329a9fcae1116929cf50c48608d2aa70872c (diff) | |
download | chef-58e147a9dfa331c359df2c9a2bcc53a27a722ef5.tar.gz |
service - upstart restart - fixing specs and call of stop
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/service/upstart.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/service/upstart.rb b/lib/chef/provider/service/upstart.rb index 268324b8c7..4acad768a4 100644 --- a/lib/chef/provider/service/upstart.rb +++ b/lib/chef/provider/service/upstart.rb @@ -190,9 +190,9 @@ class Chef # http://upstart.ubuntu.com/cookbook/#restart (it doesn't uses latest jon config from disk but retains old) else if @current_resource.running - stop_command + stop_service sleep 1 - start_command + start_service else start_service end |