Sha256: cce35286aa883e6cba3a54d74c4839601b8f5704c6197c27f416fd38dcd97375
Contents?: true
Size: 937 Bytes
Versions: 6
Compression:
Stored size: 937 Bytes
Contents
# coding: utf-8 # module for all Thor subcommands module CLISplash # Thor inherited class for Processes management class WebAdmin < Thor include Splash::WebAdmin::Controller include Splash::Config include Splash::Exiter include Splash::Helpers # Thor method : stopping Splash Webadmin desc "stop", "Stopping Splash Webadmin Daemon" def stop acase = run_as_root :stopweb, options splash_exit acase end # Thor method : getting execution status of Splashd desc "status", "Splash WebAdmin Daemon status" def status acase = run_as_root :statusweb, options splash_exit acase end # Thor method : getting execution status of Splash WebAdmin long_desc <<-LONGDESC Starting Splash Daemon\n LONGDESC desc "start", "Splash WebAdmin Daemon status" def start acase = run_as_root :startweb splash_exit acase end end end
Version data entries
6 entries across 6 versions & 1 rubygems