16 17 18 19 20
# File 'lib/librr/cmd_parser.rb', line 16 def start if Librr::CmdParser.client.check_start(options[:sync]) puts 'daemon already started..' end end
23 24 25 26
# File 'lib/librr/cmd_parser.rb', line 23 def stop puts 'stopping daemon..' Librr::CmdParser.client.cmd(:stop) rescue nil end