Sha256: 79abacafdfd9e031a76a473bcdf52bf0f014b162bda4b313cb4bd7580574b354
Contents?: true
Size: 732 Bytes
Versions: 9
Compression:
Stored size: 732 Bytes
Contents
module Capistrano module DSL ## # Paths and filenames for monit module MonitPaths # Folder should belong to root:root def monit_etc_path File.join("/etc", "monit") end # This folder must be writable by the user group deploy # and ownership should be root:deploy def monit_etc_conf_d_path File.join(monit_etc_path, "conf.d") end # This file must have mode 0700 and belong to root! def monit_monitrc_file File.join(monit_etc_path, "monitrc") end # The symlink will belong to the deploy user def monit_etc_app_symlink File.join(monit_etc_conf_d_path, "#{user_app_env_file_name}.conf") end end end end
Version data entries
9 entries across 9 versions & 1 rubygems