Sha256: 50d63aff00e8f1d2fe9978ac9740bc7a60b8db15336fdda8afa8270627d72bfa
Contents?: true
Size: 506 Bytes
Versions: 10
Compression:
Stored size: 506 Bytes
Contents
# frozen_string_literal: true namespace :logrotate do include Capistrano::Ops::Logrotate::Helpers include Capistrano::Ops::Logrotate::Paths desc 'show logrotate state and config' task :check do on roles(:app) do within release_path do if logrotate_enabled puts "logrotate running with config\n=========================" puts capture "cat #{logrotate_config_file_path}" else puts 'logrotate disabled' end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems