class Servolux::Daemon

def startup_command=( val )

Parameters:
  • val (String, Array, Proc, Method, Servolux::Server) -- The startup
def startup_command=( val )
  @startup_command = val
  return unless val.is_a?(::Servolux::Server)
  self.name = val.name
  self.logger = val.logger
  self.pid_file = val.pid_file
  @shutdown_command = nil
end