Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Bitshares client launch config  (Read 426 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

Bitshares client launch config
« on: November 15, 2014, 05:06:31 PM »

Preparing my delegate, I'm at a bit of a loss for how to launch the bitshares client, unlock the wallet and set the unlock time to something decent via the command line.

I need to nohup the process in order for it to keep running when the bash session ends, but if I do that I cannot type any commands in, and there appears to be a very limited set of command line parameters which the client reads as it starts up?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2026
    • View Profile
  • BTS: xiaoshan
Re: Bitshares client launch config
« Reply #1 on: November 15, 2014, 08:22:09 PM »
BTS ID:xiaoshan                   www.yoyow.org      www.btsabc.org      www.openledger.info

Offline wackou

Re: Bitshares client launch config
« Reply #2 on: November 15, 2014, 08:26:11 PM »
I suggest you use either screen(1) or tmux(2) (recommended) to run the client in. These act as persistent shell sessions in which you can run the client and to which you can attach/detach your terminal, which allows you to take command of your client as if you'd never disconnected. Some would argue that those tools have archaic or non-intuitive default bindings, but really you only need to know a couple of shortcuts to be able to enjoy the power and ease-of-use that they bring, there are lots of tutorials on the web that can help you get started in 5-10 minutes with them.

This also has a nice side effect which is that if for whatever reason you lose connection with your server while working on a remote session, this doesn't crash the client because of it but leaves the client running as if you'd just walked away from keyboard. Whenever you get your connection back, you can re-attach to your session and resume what you were doing as if nothing ever happened. Which is quite nice :)

(1) http://en.wikipedia.org/wiki/GNU_Screen
(2) http://en.wikipedia.org/wiki/Tmux
Please vote for witness wackou! More info at http://digitalgaia.io

Offline robrigo

Re: Bitshares client launch config
« Reply #3 on: November 16, 2014, 01:39:38 AM »
I suggest you use either screen(1) or tmux(2) (recommended) to run the client in. These act as persistent shell sessions in which you can run the client and to which you can attach/detach your terminal, which allows you to take command of your client as if you'd never disconnected. Some would argue that those tools have archaic or non-intuitive default bindings, but really you only need to know a couple of shortcuts to be able to enjoy the power and ease-of-use that they bring, there are lots of tutorials on the web that can help you get started in 5-10 minutes with them.

This also has a nice side effect which is that if for whatever reason you lose connection with your server while working on a remote session, this doesn't crash the client because of it but leaves the client running as if you'd just walked away from keyboard. Whenever you get your connection back, you can re-attach to your session and resume what you were doing as if nothing ever happened. Which is quite nice :)

(1) http://en.wikipedia.org/wiki/GNU_Screen
(2) http://en.wikipedia.org/wiki/Tmux

Agreed, screen or tmux are excellent and a must have. I run my feeds on one screen session and client on another. I haven't set up your delegate monitoring tools yet as I haven't gotten enough votes to be active anyways, but that would make a good candidate for a 3rd session.

Offline monsterer

Re: Bitshares client launch config
« Reply #4 on: November 16, 2014, 11:12:41 AM »
Many thanks, guys :)
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Bitshares client launch config
« Reply #5 on: November 16, 2014, 12:54:42 PM »
My nodes are running in screen .. all of them ... maybe i can find some time to read into tmux soon .. theres a nice split-screen feature in tmux!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline vikram

Re: Bitshares client launch config
« Reply #6 on: November 18, 2014, 09:33:18 PM »
My nodes are running in screen .. all of them ... maybe i can find some time to read into tmux soon .. theres a nice split-screen feature in tmux!

I use tmux for everything. Recommended.

 

Google+