Sha256: 70d8a654ca5bc703b7627eca6d07cf12e68f0f37726a5ffc9fd65147ee5804fb
Contents?: true
Size: 573 Bytes
Versions: 3
Compression:
Stored size: 573 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) create_pid_dir(w) restart_if_resource_hog(w, :memory_usage => 20.megabytes, :cpu_usage => 10.percent) monitor_lifecycle(w) end end
Version data entries
3 entries across 3 versions & 2 rubygems