module Capistrano::DSL::MonitPaths

Paths and filenames for monit

Public Instance Methods

monit_etc_conf_d_path() click to toggle source

This folder must be writable by the user group deploy and ownership should be root:deploy

# File lib/capistrano/dsl/monit_paths.rb, line 14
def monit_etc_conf_d_path
  File.join(monit_etc_path, "conf.d")
end
monit_etc_path() click to toggle source

Folder should belong to root:root

# File lib/capistrano/dsl/monit_paths.rb, line 8
def monit_etc_path
  File.join("/etc", "monit")
end
monit_monitrc_file() click to toggle source

This file must have mode 0700 and belong to root!

# File lib/capistrano/dsl/monit_paths.rb, line 19
def monit_monitrc_file
  File.join(monit_etc_path, "monitrc")
end