Sha256: 32bcd5d865731e5edea4cff68a6dc458d7c9d7c8b295d6b0b44d9941eb933b96
Contents?: true
Size: 440 Bytes
Versions: 5
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true namespace :logrotate do include Capistrano::Ops::Logrotate::Paths include Capistrano::Ops::Logrotate::Helpers desc 'disable logrotate' task :disable do on roles(:app) do within release_path do if logrotate_disabled puts 'logrotate already disabled' else whenever 'clear' if logrotate_enabled delete_files end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems