Sha256: b01f5c4c594c08277514962d52f36728bbf57ddada7f66ce5fc096f65e257aa9
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
#!/usr/bin/env ruby require 'rsense/client/daemon' require "jruby-jars" require "pathname" daemon = Rsense::Client::Daemon.new(ARGV[1..-1]) if ARGV[0] == 'start' daemon.start exit! elsif ARGV[0] == 'stop' daemon.stop elsif ARGV[0] == 'restart' daemon.stop daemon.start exit! else STDERR.puts "Usage: rsense <start|stop|restart>" exit! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rsense-0.5.0 | bin/rsense |