Class: Bitcoin2Graphdb::CLI
- Inherits:
-
Thor
- Object
- Thor
- Bitcoin2Graphdb::CLI
- Defined in:
- lib/bitcoin2graphdb/cli.rb
Instance Method Summary collapse
Instance Method Details
#restart ⇒ Object
45 46 47 48 |
# File 'lib/bitcoin2graphdb/cli.rb', line 45 def restart() conf = read_conf [:conf] execute_daemon([:log], [:pid], ['restart', conf]) end |
#start ⇒ Object
28 29 30 31 |
# File 'lib/bitcoin2graphdb/cli.rb', line 28 def start() conf = read_conf [:conf] execute_daemon([:log], [:pid], ['start', conf]) end |
#status ⇒ Object
39 40 41 |
# File 'lib/bitcoin2graphdb/cli.rb', line 39 def status execute_daemon([:log], [:pid], ['status']) end |
#stop ⇒ Object
34 35 36 |
# File 'lib/bitcoin2graphdb/cli.rb', line 34 def stop execute_daemon([:log], [:pid], ['stop']) end |