class Souffle::Application::Server
The souffle server command line parser.
Public Class Methods
new()
click to toggle source
Grabs all of the cli parameters and generates the mixlib config object.
Calls superclass method
Souffle::Application::new
# File lib/souffle/application/souffle-server.rb, line 111 def initialize super Souffle::Config.merge!(config) end
Public Instance Methods
run_application()
click to toggle source
setup_application()
click to toggle source
Configures the souffle server based on the cli parameters.
# File lib/souffle/application/souffle-server.rb, line 117 def setup_application Souffle::Daemon.change_privilege Souffle::Config[:server] = true if Souffle::Config[:daemonize] @app = Souffle::Server.new end