Permalink
Browse files

use notification

  • Loading branch information...
1 parent 98fbf00 commit 5cf59b0118cd5ba8789fac1050760180f7a73dbd @till committed Sep 24, 2012
Showing with 3 additions and 7 deletions.
  1. +3 −7 php-mysqlnd_uh/recipes/default.rb
View
10 php-mysqlnd_uh/recipes/default.rb
@@ -1,11 +1,7 @@
include_recipe "php-mysqlnd_uh::compile"
-
-execute "ensure extension is loaded" do
- command "cat 'extension=mysqlnd_uh.so' > /usr/local/etc/php/mysqlnd_uh.ini"
-end
-
include_recipe "php-fpm::service"
-service "php-fpm" do
- action :restart
+execute "ensure extension is loaded" do
+ command "cat 'extension=mysqlnd_uh.so' > /usr/local/etc/php/mysqlnd_uh.ini"
+ notifies :restart, resources( :service => "php-fpm" ), :delayed
end

0 comments on commit 5cf59b0

Please sign in to comment.