]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/resources/filter.rb
Fix fail2ban servie
[chef.git] / cookbooks / fail2ban / resources / filter.rb
index 3d06eabbf1362571d81a48475a909a40354d9ef4..d37ba4bb2e83a64a5035df4438493b3e17202948 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: fail2ban
+# Cookbook:: fail2ban
 # Resource:: fail2ban_filter
 #
-# Copyright 2015, OpenStreetMap Foundation
+# Copyright:: 2015, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -52,5 +52,5 @@ action :delete do
 end
 
 def after_created
-  notifies :reload, "service[fail2ban]"
+  notifies :restart, "service[fail2ban]"
 end