class ApacheCLI::Apache

Top level comment for apache

Public Instance Methods

ctl(*args) click to toggle source
# File lib/thorium/tasks/apache.rb, line 21
def ctl(*args)
  command = "#{options[:ctl_method]} #{args * ' '}"
  command = 'sudo ' + command if options[:sudo]
  run command, verbose: options[:verbose], capture: false
end