Sha256: c7d3e3f9255c6b6f5148b27eacee61868616d24cc49733f5971faf98d94505e5
Contents?: true
Size: 525 Bytes
Versions: 5
Compression:
Stored size: 525 Bytes
Contents
if File.exists?('/etc/init.d/dkim-filter') #we have it installed, so lets register it with God God.watch do |w| w.name = 'dkim_filter' w.group = 'app' w.autostart = false w.start = "/etc/init.d/dkim-filter start" w.stop = "/etc/init.d/dkim-filter stop" w.restart = "/etc/init.d/dkim-filter restart" w.pid_file = "/var/run/dkim-filter/dkim-filter.pid" default_configurations(w) restart_if_resource_hog(w, :memory_usage => 20.megabytes, :cpu_usage => 10.percent) end end
Version data entries
5 entries across 5 versions & 3 rubygems